From 7c9858f113f807b34f8dff287ad82bb99d625774 Mon Sep 17 00:00:00 2001 From: vx-clutch Date: Tue, 9 Sep 2025 15:28:06 -0400 Subject: [PATCH] save --- bin/.local/bin/pkg-install | 2 +- bin/.local/bin/pkg-remove | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/.local/bin/pkg-install b/bin/.local/bin/pkg-install index ed65062..1752c64 100755 --- a/bin/.local/bin/pkg-install +++ b/bin/.local/bin/pkg-install @@ -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 diff --git a/bin/.local/bin/pkg-remove b/bin/.local/bin/pkg-remove index e8d2455..6b17866 100755 --- a/bin/.local/bin/pkg-remove +++ b/bin/.local/bin/pkg-remove @@ -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