added chromium installation (no snap), target filename fix (install_pkg)

This commit is contained in:
fatalerrors
2021-07-02 16:48:59 +02:00
parent 42c4d4d56a
commit df8d837514
5 changed files with 56 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ install_pkg()
if [[ -n PKGS_BLACKLIST ]]; then
for pkg in $PKGS_BLACKLIST; do
prnt I "Mise du paquet $pkg en liste noire..."
local dest=/usr/apt/apt.conf.d/blacklist_$pkg.conf
local dest=/usr/apt/preferences.d/blacklist_$pkg.conf
installfile blacklist.conf $dest &&
sed -i -e "s/@pkg@/pkg/" $dest
done