diff --git a/gitlab-upgrade b/gitlab-upgrade index 505eeaf..76b3bf7 100755 --- a/gitlab-upgrade +++ b/gitlab-upgrade @@ -19,7 +19,7 @@ if [[ "$CURRENT_VERSION" == "$UPDATE_TO" ]]; then echo "$DATE | $CURRENT_VERSION | no new minor version is available" >> /var/log/gitlab-auto-update.log else echo "$DATE | $CURRENT_VERSION | updating to $UPDATE_TO" >> /var/log/gitlab-auto-update.log - sudo apt install -y "$PKG_NAME-$UPDATE_TO" 2>"$ERROR_LOG" + sudo apt install -y "$PKG_NAME=$UPDATE_TO" 2>"$ERROR_LOG" # Check if there were any errors if [ -s "$ERROR_LOG" ]; then