From 5791b3df94b05eeadfd8872ff6dd7936f064a658 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Wed, 20 Jan 2021 14:16:47 -0600 Subject: [PATCH] trivial: debian: remove ata.conf on upgrade (Closes: #980570) --- contrib/debian/fwupd.postinst | 2 ++ contrib/debian/fwupd.postrm | 2 ++ contrib/debian/fwupd.preinst | 2 ++ 3 files changed, 6 insertions(+) diff --git a/contrib/debian/fwupd.postinst b/contrib/debian/fwupd.postinst index 80d5fc516..e300bd862 100644 --- a/contrib/debian/fwupd.postinst +++ b/contrib/debian/fwupd.postinst @@ -10,6 +10,8 @@ if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then /etc/fwupd/remotes.d/fwupd.conf 1.2.7~ -- "$@" dpkg-maintscript-helper rm_conffile \ /etc/dbus-1/system.d/org.freedesktop.fwupd.conf 1.3.2~ -- "$@" + dpkg-maintscript-helper rm_conffile \ + /etc/fwupd/ata.conf 1.5.5~ -- "$@" fi #Perform transition from /etc/fwupd/uefi.conf to /etc/fwupd/uefi_capsule.conf diff --git a/contrib/debian/fwupd.postrm b/contrib/debian/fwupd.postrm index 3ef471e93..2610c625f 100644 --- a/contrib/debian/fwupd.postrm +++ b/contrib/debian/fwupd.postrm @@ -15,6 +15,8 @@ if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then /etc/fwupd/remotes.d/fwupd.conf 1.2.7~ -- "$@" dpkg-maintscript-helper rm_conffile \ /etc/dbus-1/system.d/org.freedesktop.fwupd.conf 1.3.2~ -- "$@" + dpkg-maintscript-helper rm_conffile \ + /etc/fwupd/ata.conf 1.5.5~ -- "$@" fi #Perform transition from /etc/fwupd/uefi.conf to /etc/fwupd/uefi_capsule.conf diff --git a/contrib/debian/fwupd.preinst b/contrib/debian/fwupd.preinst index 7ef10cc71..51ee2e2bf 100644 --- a/contrib/debian/fwupd.preinst +++ b/contrib/debian/fwupd.preinst @@ -10,6 +10,8 @@ if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then /etc/fwupd/remotes.d/fwupd.conf 1.2.7~ -- "$@" dpkg-maintscript-helper rm_conffile \ /etc/dbus-1/system.d/org.freedesktop.fwupd.conf 1.3.2~ -- "$@" + dpkg-maintscript-helper rm_conffile \ + /etc/fwupd/ata.conf 1.5.5~ -- "$@" fi #Perform transition from /etc/fwupd/uefi.conf to /etc/fwupd/uefi_capsule.conf