reorganized common repo, some minor modules improvements
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user