aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-06-25 19:59:11 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-06-25 19:59:11 +0200
commit7fdaf0d5dc9d5047f2f03eaf91b316c22ec8b987 (patch)
treef3a784849b1ad8d17eef731d4986d6d422642936
parentfe4133e808f79ff3c32dc600c2cf86954cd084ad (diff)
downloadpacman-offline-7fdaf0d5dc9d5047f2f03eaf91b316c22ec8b987.tar.gz
pacman-offline-7fdaf0d5dc9d5047f2f03eaf91b316c22ec8b987.tar.zst
use pacman-conf...
... and drop the dependency for pacutils.
-rwxr-xr-xbin/pacman-offline2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pacman-offline b/bin/pacman-offline
index 3c7f3d3..a8fddf5 100755
--- a/bin/pacman-offline
+++ b/bin/pacman-offline
@@ -20,7 +20,7 @@ TIMER=0
while getopts 'cfhrty' opt; do
case ${opt} in
c)
- if pacconf 'CleanMethod' | grep -q 'KeepCurrent'; then
+ if pacman-conf 'CleanMethod' | grep -q 'KeepCurrent'; then
CLEAN=1
else
echo 'The clean method is not set to keep current. Not cleaning.' >&2