fix two small issues (#1559)

This commit is contained in:
szaimen 2020-10-14 21:59:38 +02:00 committed by GitHub
parent 6939fea92c
commit 252c3bd160
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

4
lib.sh
View File

@ -303,8 +303,8 @@ reinstall_remove_menu() {
REINSTALL_REMOVE=$(whiptail --title "$TITLE" --menu \
"It seems like $1 is already installed.\nChoose what you want to do.
$MENU_GUIDE\n\n$RUN_LATER_GUIDE" "$WT_HEIGHT" "$WT_WIDTH" 4 \
"Reinstall" "$1" \
"Uninstall" "$1" 3>&1 1>&2 2>&3)
"Reinstall" " $1" \
"Uninstall" " $1" 3>&1 1>&2 2>&3)
if [ "$REINSTALL_REMOVE" = "Reinstall" ]
then
print_text_in_color "$ICyan" "Reinstalling $1..."

View File

@ -85,7 +85,7 @@ https://www.techandme.se/open-port-80-443/" "$SUBTITLE"
# Just make sure it is gone
rm -f "$SCRIPTS/test-new-config.sh"
;;&
*"Geoblock")
*"Geoblock"*)
clear
print_text_in_color "$ICyan" "Downloading the Geoblock script..."
run_script NETWORK geoblock