save
This commit is contained in:
@@ -4,7 +4,7 @@ pkgs="$@"
|
|||||||
installer="echo \"error: something went wrong\" ; exit 1"
|
installer="echo \"error: something went wrong\" ; exit 1"
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
return command -v xbps-install >dev/null 2>&1
|
command -v "$1" >/dev/null 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
if check xbps-install; then
|
if check xbps-install; then
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ pkgs="$@"
|
|||||||
installer="echo \"error: something went wrong\" ; exit 1"
|
installer="echo \"error: something went wrong\" ; exit 1"
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
return command -v xbps-install >dev/null 2>&1
|
command -v "$1" >/dev/null 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
if check xbps-remove; then
|
if check xbps-remove; then
|
||||||
|
|||||||
Reference in New Issue
Block a user