reorganized common repo, some minor modules improvements

This commit is contained in:
2021-12-06 16:21:13 +01:00
parent a9a0525cc5
commit 239d9972a5
29 changed files with 1782 additions and 21 deletions

View File

@@ -28,8 +28,8 @@ install_pkg()
if [[ -n PKGS_BLACKLIST ]]; then
for pkg in $PKGS_BLACKLIST; do
prnt I "Mise du paquet $pkg en liste noire..."
local dest=/etc/apt/preferences.d/blacklist_$pkg.conf
installfile blacklist.conf $dest &&
local dest=/etc/apt/preferences.d/blacklist_$pkg
installfile pkgman/blacklist.conf $dest &&
sed -i -e "s/@pkg@/pkg/" $dest
# If blacklisted we suppose uninstall as well (if neeeded)
@@ -65,6 +65,7 @@ precheck_install_pkg()
else
prnt I "$(echo $PKGSEL | wc -w) paquets additionels seront installés."
fi
file_exists pkgman/blacklist.conf
}
export -f install_pkg