Compare commits

..

No commits in common. "0062323e4d8f999bb77babc97abddc9fe6c450ef" and "8fc0f8cbd4c2bd5b04e438c7b0e14dba9aac1e23" have entirely different histories.

8 changed files with 34 additions and 5 deletions

View file

@ -0,0 +1 @@
deb http://deb.debian.org/debian stretch-backports main contrib non-free

7
files/apt/20-stable Normal file
View file

@ -0,0 +1,7 @@
Package: *
Pin:release n=sid
Pin-Priority:-10
Package: *
Pin:release n=stretch-backport
Pin-Priority:-10

1
files/apt/20.sid.list Normal file
View file

@ -0,0 +1 @@
deb http://ftp.debian.org/debian sid main

3
files/apt/60-libreoffice Normal file
View file

@ -0,0 +1,3 @@
Package: libreoffice libreoffice-gtk3 libreoffice-l10n-fr
Pin: release n=stretch-backports
Pin-Priority: 991

3
files/apt/60-remmina Normal file
View file

@ -0,0 +1,3 @@
Package: remmina remmina-plugin-rdp
in: release n=stretch-backports
Pin-Priority: 991

View file

@ -0,0 +1,3 @@
Package: fusioninventory-agent
Pin: release n=sid
Pin-Priority: 991

View file

@ -0,0 +1,3 @@
Package: papirus-icon-theme
Pin: release n=sid
Pin-Priority: 991

View file

@ -83,17 +83,17 @@ create_fusioninv_conf () {
}
configure_drm(){
if grep -q drm "$INITRAMFS_CONF_FILE"
if grep -o drm "$INITRAMFS_CONF_FILE"
then
message "DRM already done " "warn"
else
cat "drm" >> "$INITRAMFS_CONF_FILE"
else
message "DRM already done " "warn"
fi
if grep -q "$1" "$INITRAMFS_CONF_FILE"
then
message "$1 already done " "warn"
else
cat "$1 modeset=1" >> "$INITRAMFS_CONF_FILE"
else
message "$1 already done " "warn"
fi
}
@ -126,6 +126,14 @@ configure_plymouth (){
fi
}
# rno need to install things from sid and backport in 10
#message "\nAdd Debian stretch backport and Sid Repository :"
#cp ./files/apt/*.list /etc/apt/sources.list.d/
#cp ./files/apt/20-stable /etc/apt/preferences.d/
#cp ./files/apt/60-* /etc/apt/preferences.d/
#cp ./files/apt/80-* /etc/apt/preferences.d/
#message "done\n" "ok"
#
apt-get update &>/dev/null
process_package_file files/packages.list