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