Force installation of config files

This commit is contained in:
Daniel Ruiz de Alegría 2022-12-21 10:24:49 +01:00
parent 1065ad8a68
commit e758ab26c0
No known key found for this signature in database
GPG Key ID: 59667A77E8BFCB6C

View File

@ -82,9 +82,6 @@ if [ "$1" = "configure" ]; then
if dpkg --compare-versions "$2" lt "2021.1.1"; then
remove_config_file /etc/xdg/Trolltech.conf
fi
if dpkg --compare-versions "$2" lt "2021.2.1"; then
install_config_file /etc/xdg/xfce4/whiskermenu/defaults.rc force
fi
if dpkg --compare-versions "$2" lt "2021.2.3"; then
install_config_file /etc/xdg/Thunar/uca.xml force
install_config_file /etc/xdg/Thunar/accels.scm force
@ -100,7 +97,6 @@ if [ "$1" = "configure" ]; then
fi
if dpkg --compare-versions "$2" lt "2021.4.2"; then
install_config_file /etc/xdg/kickoffrc force
install_config_file /etc/xdg/menus/xfce-settings-manager.menu force
install_config_file /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml force
install_config_file /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml force
fi
@ -110,12 +106,8 @@ if [ "$1" = "configure" ]; then
install_config_file /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml force
fi
if dpkg --compare-versions "$2" lt "2022.2.0"; then
install_config_file /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml force
install_config_file /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml force
fi
if dpkg --compare-versions "$2" lt "2022.2.2"; then
install_config_file /etc/xdg/xfce4/panel/default.xml force
fi
if dpkg --compare-versions "$2" lt "2022.4.3"; then
install_config_file /etc/xdg/mimeapps.list force
install_config_file /etc/xdg/picom.conf force
@ -125,6 +117,12 @@ if [ "$1" = "configure" ]; then
if dpkg --compare-versions "$2" lt "2022.4.4"; then
install_config_file /etc/xdg/xfce-mimeapps.list force
fi
if dpkg --compare-versions "$2" lt "2023.1.0"; then
install_config_file /etc/xdg/menus/xfce-settings-manager.menu 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/xsettings.xml force
fi
# Install remaining new files
install_all
fi