diff --git a/scripts/Arch/Devies/Surface/install.sh b/scripts/Arch/Devies/Surface/install.sh index a548f9d6..9db98954 100755 --- a/scripts/Arch/Devies/Surface/install.sh +++ b/scripts/Arch/Devies/Surface/install.sh @@ -12,11 +12,13 @@ sudo pacman-key --lsign-key 56C464BAAC421453; pacmanConf="/etc/pacman.conf"; if ! grep "^\[linux-surface\]$" "$pacmanConf" -{ - echo ""; - echo "[linux-surface]"; - echo "Server = https://pkg.surfacelinux.com/arch/"; -} | sudo tee -a "$pacmanConf" > /dev/null; +then + { + echo ""; + echo "[linux-surface]"; + echo "Server = https://pkg.surfacelinux.com/arch/"; + } | sudo tee -a "$pacmanConf" > /dev/null; +fi; sudo pacman --noconfirm -Syu;