This commit is contained in:
Marc Beninca 2024-09-07 12:13:10 +02:00
parent 8af733e5df
commit cb250650ff
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -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() {