File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 5151
5252if [ -d $INSTALL_DIR /swiftbox ]
5353then
54- echo " Unexpected directory in $INSTALL_DIR /swiftbox"
54+ echo " Unexpected directory at $INSTALL_DIR /swiftbox"
5555 exit 254
5656elif [ -f $INSTALL_DIR /swiftbox ]
5757then
6666 fi
6767 if [ " E$SWIFTBOX_VERSION " = " E$LATEST_VERSION " ]
6868 then
69- echo " Already installed the latest version $SWIFTBOX_VERSION at $INSTALL_DIR "
69+ echo " Already installed the latest version $SWIFTBOX_VERSION in $INSTALL_DIR "
7070 exit
7171 fi
7272 if [ " $SWIFTBOX_VERSION " ]
7373 then
7474 SUCCESS_MESSAGE=" Successfully upgraded swiftbox from $SWIFTBOX_VERSION to $LATEST_VERSION "
7575 else
76- SUCCESS_MESSAGE=" Successfully installed swiftbox $LATEST_VERSION at $INSTALL_DIR "
76+ SUCCESS_MESSAGE=" Successfully installed swiftbox $LATEST_VERSION in $INSTALL_DIR "
7777 fi
7878else
79- SUCCESS_MESSAGE=" Successfully installed swiftbox $LATEST_VERSION at $INSTALL_DIR "
79+ SUCCESS_MESSAGE=" Successfully installed swiftbox $LATEST_VERSION in $INSTALL_DIR "
8080fi
8181
8282URL=" https://cdn.jsdelivr.net/gh/stevapple/swiftbox@$LATEST_VERSION /swiftbox.sh"
Original file line number Diff line number Diff line change @@ -473,11 +473,11 @@ upgrade)
473473install)
474474 if [ $( realpath ` dirname $0 ` ) = $INSTALL_DIR ]
475475 then
476- echo " swiftbox is already installed at $INSTALL_DIR "
476+ echo " swiftbox is already installed in $INSTALL_DIR "
477477 exit 1
478478 fi
479479 $SUDO_FLAG cp $0 $INSTALL_DIR /swiftbox
480- echo " Successfully installed swiftbox at $INSTALL_DIR "
480+ echo " Successfully installed swiftbox in $INSTALL_DIR "
481481;;
482482-v)
483483 echo $SWIFTBOX_VERSION
You can’t perform that action at this time.
0 commit comments