This commit is contained in:
Marc Beninca 2024-11-18 18:27:59 +01:00
parent 9e80019ddd
commit e933c159c3
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1,82 +1,94 @@
# show package information # show package information
acl() { acl() { sh_a__apt_cache_list "${@}"; }
sh_a__apt_cache_list() {
apt-cache \ apt-cache \
show \ show \
"${@}" "${@}"
} }
# package versions policy # package versions policy
acp() { acp() { sh_a__apt_cache_policy "${@}"; }
sh_a__apt_cache_policy() {
apt-cache \ apt-cache \
policy \ policy \
"${@}" "${@}"
} }
# search package # search package
acs() { acs() { sh_a__apt_cache_search "${@}"; }
sh_a__apt_cache_search() {
apt-cache \ apt-cache \
search \ search \
"${@}" "${@}"
} }
# #
agap() { agap() { sh_a__apt_get_auto_purge "${@}"; }
sh_a__apt_get_auto_purge() {
apt-get \ apt-get \
autopurge \ autopurge \
"${@}" "${@}"
} }
# #
agar() { agar() { sh_a__apt_get_auto_remove "${@}"; }
sh_a__apt_get_auto_remove() {
apt-get \ apt-get \
autoremove \ autoremove \
"${@}" "${@}"
} }
# clean packages cache # clean packages cache
agc() { agc() { sh_a__apt_get_clean "${@}"; }
sh_a__apt_get_clean() {
apt-get \ apt-get \
clean \ clean \
"${@}" "${@}"
} }
# upgrade allowing package installation or removal # upgrade allowing package installation or removal
agfu() { agfu() { sh_a__apt_get_full_upgrade "${@}"; }
sh_a__apt_get_full_upgrade() {
apt-get \ apt-get \
full-upgrade \ full-upgrade \
"${@}" "${@}"
} }
# install packages # install packages
agi() { agi() { sh_a__apt_get_install "${@}"; }
sh_a__apt_get_install() {
apt-get \ apt-get \
install \ install \
"${@}" "${@}"
} }
# #
agp() { agp() { sh_a__apt_get_purge "${@}"; }
sh_a__apt_get_purge() {
apt-get \ apt-get \
purge \ purge \
"${@}" "${@}"
} }
# #
agr() { agr() { sh_a__apt_get_remove "${@}"; }
sh_a__apt_get_remove() {
apt-get \ apt-get \
remove \ remove \
"${@}" "${@}"
} }
# update packages catalog # update packages catalog
agud() { agud() { sh_a__apt_get_up_date "${@}"; }
sh_a__apt_get_up_date() {
apt-get \ apt-get \
update \ update \
"${@}" "${@}"
} }
# upgrade forbidding package installation or removal # upgrade forbidding package installation or removal
agug() { agug() { sh_a__apt_get_up_grade "${@}"; }
sh_a__apt_get_up_grade() {
apt-get \ apt-get \
upgrade \ upgrade \
"${@}" "${@}"