Turn pkg and cmd functions into bins to avoid PATH issues in subshells
This commit is contained in:
1 parent
94ad5d4d37
commit
9e5b4fc871
44 files changed
+98
-106
No files matched your search
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
for pkg in "$@"; do
|
||||
pacman -Q "$pkg" &>/dev/null || return 1
|
||||
done
|
||||
|
||||
return 0
|
||||
Reference in new issue
Block a user