Skip to content
Snippets Groups Projects
Commit 1db99d45 authored by Bob Mottram's avatar Bob Mottram
Browse files

rm

parent ccb2cbee
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment