Underscore

This commit is contained in:
Bob Mottram 2016-09-28 15:56:53 +01:00
parent f3d49989c7
commit 1dbd1b1606
1 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ function gogs_parameters {
return return
fi fi
GOGS_BIN=https://github.com/gogits/gogs/releases/download/v${GOGS_VERSION}/linux_${CURR_ARCH}.tar.gz GOGS_BIN="https://github.com/gogits/gogs/releases/download/v${GOGS_VERSION}/linux_${CURR_ARCH}.tar.gz"
} }
function get_mariadb_git_admin_password { function get_mariadb_git_admin_password {
@ -114,7 +114,7 @@ function upgrade_gogs {
rm linux-${CURR_ARCH}.tar.gz rm linux-${CURR_ARCH}.tar.gz
fi fi
wget ${GOGS_BIN} wget ${GOGS_BIN}
if [ ! -f linux-${CURR_ARCH}.tar.gz ]; then if [ ! -f linux_${CURR_ARCH}.tar.gz ]; then
exit 37836 exit 37836
fi fi
tar -xzf ${INSTALL_DIR}/linux_${CURR_ARCH}.tar.gz tar -xzf ${INSTALL_DIR}/linux_${CURR_ARCH}.tar.gz
@ -332,7 +332,7 @@ function install_gogs {
rm linux-${CURR_ARCH}.tar.gz rm linux-${CURR_ARCH}.tar.gz
fi fi
wget ${GOGS_BIN} wget ${GOGS_BIN}
if [ ! -f linux-${CURR_ARCH}.tar.gz ]; then if [ ! -f linux_${CURR_ARCH}.tar.gz ]; then
exit 37836 exit 37836
fi fi
tar -xzf ${INSTALL_DIR}/linux_${CURR_ARCH}.tar.gz tar -xzf ${INSTALL_DIR}/linux_${CURR_ARCH}.tar.gz