This commit is contained in:
2025-09-09 15:28:06 -04:00
parent cc78cd1b2d
commit 7c9858f113
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ pkgs="$@"
installer="echo \"error: something went wrong\" ; exit 1"
check() {
return command -v xbps-install >dev/null 2>&1
command -v "$1" >/dev/null 2>&1
}
if check xbps-install; then

View File

@@ -4,7 +4,7 @@ pkgs="$@"
installer="echo \"error: something went wrong\" ; exit 1"
check() {
return command -v xbps-install >dev/null 2>&1
command -v "$1" >/dev/null 2>&1
}
if check xbps-remove; then