fix: installing specific version requires = in name of package
This commit is contained in:
parent
839146e48b
commit
4ab11cb237
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user