added tagfile and make use of it in modules

This commit is contained in:
2021-12-15 10:55:18 +01:00
parent 925d32c2b6
commit a79d079cac
15 changed files with 81 additions and 31 deletions

View File

@@ -13,7 +13,7 @@
# * PKGSEL: List of package to install
# ------------------------------------------------------------------------------
export VER_install_pkg="0.1.2"
export VER_install_pkg="0.1.3"
export DEP_install_pkg="upgrade_dist"
install_pkg()
@@ -31,6 +31,7 @@ install_pkg()
local dest=/etc/apt/preferences.d/blacklist_$pkg
installfile pkgman/blacklist.conf $dest &&
sed -i -e "s/@pkg@/pkg/" $dest
tagfile $dest
# If blacklisted we suppose uninstall as well (if neeeded)
pkgrm $pkg