From 5e23854b6bdd3a40f30d3f064b7120931c78eeaa Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Sun, 17 Dec 2023 12:29:01 -0500 Subject: [PATCH] test --- common/functions.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/functions.sh b/common/functions.sh index 87a094d..621d6c6 100644 --- a/common/functions.sh +++ b/common/functions.sh @@ -110,17 +110,17 @@ pkgmgr_clean(){ if [ "$PKG_MANAGER" == "apt-get" ] ; then "$PKG_MANAGER" clean "$PKG_MANAGER" autoclean - "$PKG_MANAGER" autoremove + "$PKG_MANAGER" autoremove -y elif [ "$PKG_MANAGER" == "dnf" ] ; then "$PKG_MANAGER" clean dbcache "$PKG_MANAGER" clean all - "$PKG_MANAGER" autoremove + "$PKG_MANAGER" autoremove -y elif [ "$PKG_MANAGER" == "yum" ] ; then "$PKG_MANAGER" clean packages "$PKG_MANAGER" clean headers "$PKG_MANAGER" clean metadata "$PKG_MANAGER" clean all - "$PKG_MANAGER" autoremove + "$PKG_MANAGER" autoremove -y fi }