Skip to content

Commit 101e091

Browse files
committed
Fix typo
1 parent 7ffa822 commit 101e091

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fi
5151

5252
if [ -d $INSTALL_DIR/swiftbox ]
5353
then
54-
echo "Unexpected directory in $INSTALL_DIR/swiftbox"
54+
echo "Unexpected directory at $INSTALL_DIR/swiftbox"
5555
exit 254
5656
elif [ -f $INSTALL_DIR/swiftbox ]
5757
then
@@ -66,17 +66,17 @@ then
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
7878
else
79-
SUCCESS_MESSAGE="Successfully installed swiftbox $LATEST_VERSION at $INSTALL_DIR"
79+
SUCCESS_MESSAGE="Successfully installed swiftbox $LATEST_VERSION in $INSTALL_DIR"
8080
fi
8181

8282
URL="https://cdn.jsdelivr.net/gh/stevapple/swiftbox@$LATEST_VERSION/swiftbox.sh"

swiftbox.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,11 +473,11 @@ upgrade)
473473
install)
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

0 commit comments

Comments
 (0)