File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 6060 SUCCESS_MESSAGE=" Successfully installed swiftbox $LATEST_VERSION at $INSTALL_DIR . "
6161fi
6262
63- $SUDO_FLAG curl -o $INSTALL_DIR /swiftbox https://cdn.jsdelivr.net/gh/stevapple/swiftbox@$LATEST_VERSION /swiftbox.sh
63+ $SUDO_FLAG curl -o $INSTALL_DIR /swiftbox https://cdn.jsdelivr.net/gh/stevapple/swiftbox@$LATEST_VERSION /swiftbox.sh -#
6464$SUDO_FLAG chmod +x $INSTALL_DIR /swiftbox
6565hash -r
6666echo $SUCCESS_MESSAGE
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- SWIFTBOX_VERSION=" 0.7.1 "
3+ SWIFTBOX_VERSION=" 0.7.2 "
44INSTALL_DIR=" /usr/bin"
55
66if [ -f /etc/redhat-release ]
3131 UNSUPPORTED_SYSTEM=" This strange OS"
3232fi
3333
34- if [ $UNSUPPORTED_SYSTEM ]
34+ if [ " $UNSUPPORTED_SYSTEM " ]
3535then
3636 echo " This program only supports Ubuntu and CentOS (RHEL). "
3737 echo " $UNSUPPORTED_SYSTEM is unsupported. "
@@ -394,4 +394,4 @@ list)
394394 echo " Unsupported command: $1 "
395395 exit 3
396396;;
397- esac
397+ esac
You can’t perform that action at this time.
0 commit comments