implemented patchfile and pre post action of package manager, renamed pkgrem -> pkgrm

This commit is contained in:
levasseur
2021-10-25 17:33:23 +02:00
parent c45078fbe7
commit 6fa6dcc24d
7 changed files with 208 additions and 12 deletions

View File

@@ -15,7 +15,13 @@ export COM_UPGRADE="full-upgrade -y"
export COM_REMOVE="remove --purge -y"
export COM_AUTOREM="autoremove --purge -y"
export GET_INSTALLLIST="apt-get -s install @pkg@ -V | grep 'Inst' | awk '{print$2}'"
export GET_UPGRADELIST="apt-get -s full-upgrade -V | grep 'Inst' | awk '{print$2}'"
export GET_REMOVELIST="apt-get -s remove @pkg@ -V | grep 'Remv' | awk '{print$2}'"
export GET_AUTOREMLIST="apt-get -s autoremove -V | grep 'Remv' | awk '{print$2}'"
# Special variable for apt tools to disable any interactive behaviour
# This is not used by init.sh
export DEBIAN_FRONTEND=noninteractive
# Conf chemin