diff --git a/src/freedombone-app-gogs b/src/freedombone-app-gogs index f2211ff9..a2c8decb 100755 --- a/src/freedombone-app-gogs +++ b/src/freedombone-app-gogs @@ -57,7 +57,7 @@ function gogs_parameters { return 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 { @@ -114,7 +114,7 @@ function upgrade_gogs { rm linux-${CURR_ARCH}.tar.gz fi wget ${GOGS_BIN} - if [ ! -f linux-${CURR_ARCH}.tar.gz ]; then + if [ ! -f linux_${CURR_ARCH}.tar.gz ]; then exit 37836 fi tar -xzf ${INSTALL_DIR}/linux_${CURR_ARCH}.tar.gz @@ -332,7 +332,7 @@ function install_gogs { rm linux-${CURR_ARCH}.tar.gz fi wget ${GOGS_BIN} - if [ ! -f linux-${CURR_ARCH}.tar.gz ]; then + if [ ! -f linux_${CURR_ARCH}.tar.gz ]; then exit 37836 fi tar -xzf ${INSTALL_DIR}/linux_${CURR_ARCH}.tar.gz