Silence errors if they are missing
This commit is contained in:
1 parent
3e29949745
commit
d9c69b8d02
1 file changed
+2
-2
@@ -1,10 +1,10 @@
|
||||
echo "Remove any Chaotic-AUR infrastructure packages"
|
||||
|
||||
if pacman -Q chaotic-keyring >/dev/null; then
|
||||
if pacman -Q chaotic-keyring 2>/dev/null; then
|
||||
sudo pacman -Rns --noconfirm chaotic-keyring
|
||||
fi
|
||||
|
||||
if pacman -Q chaotic-mirrorlist >/dev/null; then
|
||||
if pacman -Q chaotic-mirrorlist 2>/dev/null; then
|
||||
sudo pacman -Rns --noconfirm chaotic-mirrorlist
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user