Skip to content

Commit

Permalink
Fix upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
stevapple committed May 24, 2020
1 parent 7c90f34 commit 1cacfa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions swiftbox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Set environment properties

SWIFTBOX_VERSION="0.12.1"
SWIFTBOX_VERSION="0.12.2"

if [ `id -u` = 0 ]
then
Expand Down Expand Up @@ -489,7 +489,7 @@ upgrade)
then
echo "Download failed, please check your Internet connection."
else
$SUDO_FLAG cat $SWIFTBOX_PATH.downloading > $SWIFTBOX_PATH
$SUDO_FLAG sh -c "cat $SWIFTBOX_PATH.downloading > $SWIFTBOX_PATH"
echo "Successfully upgraded swiftbox from $SWIFTBOX_VERSION to $LATEST_VERSION"
fi
$SUDO_FLAG rm -f $SWIFTBOX_PATH.downloading
Expand Down

0 comments on commit 1cacfa7

Please sign in to comment.