overwrite

This commit is contained in:
Bob Mottram 2016-09-28 17:45:46 +01:00
parent dbd7239ecf
commit 426c2c2816
1 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ function upgrade_gogs {
exit 37836
else
apt-get -y install unzip
unzip ${GOGS_FILE}
unzip -o ${GOGS_FILE}
fi
else
tar -xzf ${INSTALL_DIR}/${GOGS_FILE}
@ -369,7 +369,7 @@ function install_gogs {
exit 37836
else
apt-get -y install unzip
unzip ${GOGS_FILE}
unzip -o ${GOGS_FILE}
fi
else
tar -xzf ${INSTALL_DIR}/${GOGS_FILE}