pm/clean
This commit is contained in:
parent
8af733e5df
commit
cb250650ff
1 changed files with 2 additions and 2 deletions
|
@ -993,7 +993,7 @@ ${name}.${_SPCD_TXT_CHARSET} ${_SPCD_TXT_CHARSET}
|
||||||
# │ f │ packages │
|
# │ f │ packages │
|
||||||
# ╰───┴──────────╯
|
# ╰───┴──────────╯
|
||||||
|
|
||||||
spcd_clean_cache() {
|
spcd_f_pm_clean() {
|
||||||
case "${SPCD_PM}" in
|
case "${SPCD_PM}" in
|
||||||
"${SPCD_PM_APK}") spcd_eval apk cache purge ;;
|
"${SPCD_PM_APK}") spcd_eval apk cache purge ;;
|
||||||
"${SPCD_PM_APT}") spcd_eval apt-get clean ;;
|
"${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}" ;;
|
"${SPCD_PM_ZYPPER}") spcd_eval zypper --non-interactive install "${1}" ;;
|
||||||
*) ;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
spcd_clean_cache
|
spcd_f_pm_clean
|
||||||
}
|
}
|
||||||
|
|
||||||
spcd_query_package() {
|
spcd_query_package() {
|
||||||
|
|
Loading…
Reference in a new issue