diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 2a3a6dc..86910ee 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -993,7 +993,7 @@ ${name}.${_SPCD_TXT_CHARSET} ${_SPCD_TXT_CHARSET} # │ f │ packages │ # ╰───┴──────────╯ -spcd_clean_cache() { +spcd_f_pm_clean() { case "${SPCD_PM}" in "${SPCD_PM_APK}") spcd_eval apk cache purge ;; "${SPCD_PM_APT}") spcd_eval apt-get clean ;; @@ -1024,7 +1024,7 @@ spcd_install_package() { "${SPCD_PM_ZYPPER}") spcd_eval zypper --non-interactive install "${1}" ;; *) ;; esac - spcd_clean_cache + spcd_f_pm_clean } spcd_query_package() {