Copy backport source list
This commit is contained in:
parent
57262fc556
commit
ace138d377
1 changed files with 6 additions and 5 deletions
11
install.sh
11
install.sh
|
@ -83,7 +83,7 @@ create_fusioninv_conf () {
|
|||
}
|
||||
|
||||
configure_drm(){
|
||||
if [ -z "$(grep -o drm $INITRAMFS_CONF_FILE)" ]
|
||||
if [ -z "$(grep -o drm $INITRAMFS_CONF_FILE)" ]
|
||||
then
|
||||
cat "drm" >> $INITRAMFS_CONF_FILE
|
||||
else
|
||||
|
@ -103,7 +103,7 @@ configure_grub (){
|
|||
}
|
||||
|
||||
configure_plymouth (){
|
||||
local module=$(lsmod | grep -o "i915\|radeon" | head -1)
|
||||
local module=$(lsmod | grep -o "i915\|radeon" | head -1)
|
||||
if [ ! "$module" == "" ]
|
||||
then
|
||||
message "\nConfigure drm modules for $module : "
|
||||
|
@ -116,14 +116,15 @@ configure_plymouth (){
|
|||
message "\nSelect plymouth theme : "
|
||||
plymouth-set-default-theme -R spinner &>/dev/null
|
||||
message "done" "ok"
|
||||
message "\n"
|
||||
message "\n"
|
||||
else
|
||||
message "\nNo suitable kernel module found for plymouth\n" "warn"
|
||||
fi
|
||||
}
|
||||
|
||||
message "\nAdd Debian Sid Repository :"
|
||||
cp ./files/apt/10.sid.list /etc/apt/sources.list.d/
|
||||
message "\nAdd Debian stretch backport and Sid Repository :"
|
||||
cp ./files/apt/10.stretch_backport.list /etc/apt/sources.list.d/
|
||||
cp ./files/apt/20.sid.list /etc/apt/sources.list.d/
|
||||
cp ./files/apt/20-stable /etc/apt/preferences.d/
|
||||
cp ./files/apt/80-fusioninventory /etc/apt/preferences.d/
|
||||
cp ./files/apt/80-papirus-icon-theme /etc/apt/preferences.d/
|
||||
|
|
Reference in a new issue