Fix broken syntax
This commit is contained in:
parent
0f8ab2f57e
commit
b714b3af1b
1 changed files with 7 additions and 5 deletions
|
@ -12,11 +12,13 @@ sudo pacman-key --lsign-key 56C464BAAC421453;
|
|||
pacmanConf="/etc/pacman.conf";
|
||||
|
||||
if ! grep "^\[linux-surface\]$" "$pacmanConf"
|
||||
{
|
||||
then
|
||||
{
|
||||
echo "";
|
||||
echo "[linux-surface]";
|
||||
echo "Server = https://pkg.surfacelinux.com/arch/";
|
||||
} | sudo tee -a "$pacmanConf" > /dev/null;
|
||||
} | sudo tee -a "$pacmanConf" > /dev/null;
|
||||
fi;
|
||||
|
||||
sudo pacman --noconfirm -Syu;
|
||||
|
||||
|
|
Loading…
Reference in a new issue