This commit is contained in:
th33xitus
2020-07-31 10:17:53 +02:00
parent 3be01528d9
commit 96c094d36b
2 changed files with 7 additions and 4 deletions

View File

@@ -237,14 +237,14 @@ read_local_mainsail_version(){
if [ -e $MAINSAIL_DIR/version ]; then if [ -e $MAINSAIL_DIR/version ]; then
MAINSAIL_LOCAL_VER=$(head -n 1 $MAINSAIL_DIR/version) MAINSAIL_LOCAL_VER=$(head -n 1 $MAINSAIL_DIR/version)
else else
MAINSAIL_LOCAL_VER="${red}------${default}" MAINSAIL_LOCAL_VER="${red}-----${default}"
fi fi
} }
read_remote_mainsail_version(){ read_remote_mainsail_version(){
#remote checks don't work without curl installed! #remote checks don't work without curl installed!
if [[ ! $(dpkg-query -f'${Status}' --show curl 2>/dev/null) = *\ installed ]]; then if [[ ! $(dpkg-query -f'${Status}' --show curl 2>/dev/null) = *\ installed ]]; then
MAINSAIL_REMOTE_VER="${red}------${default}" MAINSAIL_REMOTE_VER="${red}-----${default}"
else else
get_mainsail_ver get_mainsail_ver
MAINSAIL_REMOTE_VER=$MAINSAIL_VERSION MAINSAIL_REMOTE_VER=$MAINSAIL_VERSION

View File

@@ -95,8 +95,11 @@ remove_ui(){
echo -e "| --> ~/kiauh-backups | " echo -e "| --> ~/kiauh-backups | "
echo -e "| You need remove them manually if you wish so. | " echo -e "| You need remove them manually if you wish so. | "
hr hr
echo -e "| 1) [Klipper] | 5) [Tornado] | " echo -e "| Firmware: | | "
echo -e "| 2) [DWC2-for-Klipper] | 6) [Nginx] | " echo -e "| 1) [Klipper] | 5) [Nginx] | "
echo -e "| | | "
echo -e "| Webinterface: | | "
echo -e "| 2) [DWC2] | | "
echo -e "| 3) [Mainsail] | | " echo -e "| 3) [Mainsail] | | "
echo -e "| 4) [Octoprint] | | " echo -e "| 4) [Octoprint] | | "
quit_footer quit_footer