mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Switch from returns to exit codes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
for pkg in "$@"; do
|
||||
pacman -Q "$pkg" &>/dev/null || return 1
|
||||
pacman -Q "$pkg" &>/dev/null
|
||||
done
|
||||
|
||||
return 0
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user