overwrite
This commit is contained in:
parent
dbd7239ecf
commit
426c2c2816
|
@ -137,7 +137,7 @@ function upgrade_gogs {
|
||||||
exit 37836
|
exit 37836
|
||||||
else
|
else
|
||||||
apt-get -y install unzip
|
apt-get -y install unzip
|
||||||
unzip ${GOGS_FILE}
|
unzip -o ${GOGS_FILE}
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
tar -xzf ${INSTALL_DIR}/${GOGS_FILE}
|
tar -xzf ${INSTALL_DIR}/${GOGS_FILE}
|
||||||
|
@ -369,7 +369,7 @@ function install_gogs {
|
||||||
exit 37836
|
exit 37836
|
||||||
else
|
else
|
||||||
apt-get -y install unzip
|
apt-get -y install unzip
|
||||||
unzip ${GOGS_FILE}
|
unzip -o ${GOGS_FILE}
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
tar -xzf ${INSTALL_DIR}/${GOGS_FILE}
|
tar -xzf ${INSTALL_DIR}/${GOGS_FILE}
|
||||||
|
|
Loading…
Reference in New Issue