Force update of all config files on upgrade files

It's an extra safety to have a clean start and it makes it easier
for others to test.

Gbp-Dch: Full
This commit is contained in:
Raphaël Hertzog 2019-11-08 19:10:33 +01:00
parent b516c6e487
commit 54275159c7

View File

@ -41,11 +41,9 @@ if [ "$1" = "configure" ]; then
# Initial install
install_all force
else
# Upgrade
if dpkg --compare-versions "$2" lt "2019.4.6"; then
# Those files have been updated, force install them
install_config_file /etc/xdg/xfce4/terminal/terminalrc force
install_config_file /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml force
# Upgrade all files once
if dpkg --compare-versions "$2" lt "2019.4.10"; then
install_all force
fi
# Install remaining new files
install_all