This commit is contained in:
Bob Mottram 2016-09-28 17:18:17 +01:00
parent ccb2cbeec7
commit 1db99d4519
1 changed files with 3 additions and 3 deletions

View File

@ -131,7 +131,7 @@ function upgrade_gogs {
exit 37836
else
apt-get -y install unzip
unzip linux_${CURR_ARCH}.zip
unzip -A linux_${CURR_ARCH}.zip
fi
else
tar -xzf ${INSTALL_DIR}/linux_${CURR_ARCH}.tar.gz
@ -362,7 +362,7 @@ function install_gogs {
exit 37836
else
apt-get -y install unzip
unzip linux_${CURR_ARCH}.zip
unzip -A linux_${CURR_ARCH}.zip
fi
else
tar -xzf ${INSTALL_DIR}/linux_${CURR_ARCH}.tar.gz
@ -375,7 +375,7 @@ function install_gogs {
rm linux_${CURR_ARCH}.tar.gz
fi
if [ -f linux_${CURR_ARCH}.zip ]; then
linux_${CURR_ARCH}.zip
rm linux_${CURR_ARCH}.zip
fi
if [ ! -f /home/$GOGS_USERNAME/gogs ]; then