This commit is contained in:
parent
ccb2cbeec7
commit
1db99d4519
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue