mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 21:31:19 +08:00 
			
		
		
		
	fix(archlinux): keyring update function (#11607)
This commit is contained in:
		
							parent
							
								
									ad99f0c164
								
							
						
					
					
						commit
						90ec2d1a68
					
				@ -186,7 +186,7 @@ function upgrade() {
 | 
			
		||||
  if [ $installedver != $currentver ]; then
 | 
			
		||||
    echo "[oh-my-zsh] Arch Linux PGP Keyring is out of date."
 | 
			
		||||
    echo "[oh-my-zsh] Updating before full system upgrade."
 | 
			
		||||
    sudo pacman -Syu --needed --noconfirm archlinux-keyring
 | 
			
		||||
    sudo pacman -Sy --needed --noconfirm archlinux-keyring
 | 
			
		||||
  else
 | 
			
		||||
    echo "[oh-my-zsh] Arch Linux PGP Keyring is up to date."
 | 
			
		||||
  fi
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user