mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
mbutil - Initial support for installing mb-util to support offline map tilesets
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 25 April 2025
|
||||
# Purpose : Installs Python 3
|
||||
set -e
|
||||
trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG
|
||||
trap 'et-log "\"${last_command}\" command failed with exit code $?."' ERR
|
||||
|
||||
et-log "Installing Python 2..."
|
||||
|
||||
apt install \
|
||||
python2 \
|
||||
python-setuptools \
|
||||
-y
|
||||
|
||||
# Set Python 2 as the default
|
||||
update-alternatives --install /usr/bin/python python /usr/bin/python2 1
|
||||
Reference in New Issue
Block a user