Force update setting files

This commit is contained in:
Daniel Ruiz de Alegría 2021-01-05 14:08:47 +01:00
parent 72a57e527b
commit 9309d2a41a

View File

@ -62,22 +62,23 @@ if [ "$1" = "configure" ]; then
if dpkg --compare-versions "$2" lt "2020.2.3"; then if dpkg --compare-versions "$2" lt "2020.2.3"; then
# Force upgrade modified config files # Force upgrade modified config files
install_config_file /etc/lightdm/lightdm-gtk-greeter.conf force install_config_file /etc/lightdm/lightdm-gtk-greeter.conf force
install_config_file /etc/xdg/xfce4/panel/default.xml force
install_config_file /etc/xdg/xfce4/terminal/terminalrc force install_config_file /etc/xdg/xfce4/terminal/terminalrc force
install_config_file /etc/xdg/xfce4/whiskermenu/defaults.rc force
install_config_file /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml force install_config_file /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml force
install_config_file /etc/xdg/Thunar/uca.xml force install_config_file /etc/xdg/Thunar/uca.xml force
install_config_file /etc/xdg/kscreenlockerrc force install_config_file /etc/xdg/kscreenlockerrc force
fi fi
if dpkg --compare-versions "$2" lt "2020.4.1"; then
install_config_file /etc/xdg/qterminal.org/qterminal.ini force
install_config_file /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml force
fi
if dpkg --compare-versions "$2" lt "2020.4.3"; then if dpkg --compare-versions "$2" lt "2020.4.3"; then
install_config_file /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml force
install_config_file /etc/xdg/xfce4/whiskermenu/defaults.rc force
install_config_file /etc/xdg/qt5ct/qt5ct.conf force install_config_file /etc/xdg/qt5ct/qt5ct.conf force
fi fi
if dpkg --compare-versions "$2" lt "2021.0.1"; then
install_config_file /etc/xdg/kdeglobals force
install_config_file /etc/xdg/qterminal.org/qterminal.ini force
install_config_file /etc/xdg/xfce4/helpers.rc force
install_config_file /etc/xdg/xfce4/panel/default.xml force
install_config_file /etc/xdg/xfce4/whiskermenu/defaults.rc force
install_config_file /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml force
install_config_file /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml force
fi
# Install remaining new files # Install remaining new files
install_all install_all
fi fi