Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
xdtianyu committed May 11, 2016
1 parent 8e09e4b commit f9d3212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx/upgrade-nginx-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ OLD_VERSION=$(nginx -v 2>&1|cut -d '/' -f 2)

DEB_FILE="nginx_$VERSION-$(lsb_release -sc)-1_amd64.deb"

wget "https://www.xdty.org/dl/vps/$DEB_FILE"i -O "$DEB_FILE"
wget "https://www.xdty.org/dl/vps/$DEB_FILE" -O "$DEB_FILE"

if [ "$?" -ne 0 ]; then
echo "$DEB_FILE download failed!"
Expand Down

0 comments on commit f9d3212

Please sign in to comment.