fix: installing specific version requires = in name of package
This commit is contained in:
		@@ -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
 | 
						echo "$DATE | $CURRENT_VERSION | no new minor version is available" >> /var/log/gitlab-auto-update.log
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
	echo "$DATE | $CURRENT_VERSION | updating to $UPDATE_TO" >> /var/log/gitlab-auto-update.log
 | 
						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
 | 
						# Check if there were any errors
 | 
				
			||||||
	if [ -s "$ERROR_LOG" ]; then
 | 
						if [ -s "$ERROR_LOG" ]; then
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user