mirror of
https://git.proxmox.com/git/fwupd
synced 2026-03-28 17:07:13 +00:00
Migrate debian/fwupd.preinst content to debian/fwupd.maintscript
This commit is contained in:
parent
9c6742a60d
commit
89b4a4d031
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -7,6 +7,7 @@ fwupd (1.5.3-1) UNRELEASED; urgency=medium
|
||||
- Drop libsoup build dependency
|
||||
- Add libcurl build dependency
|
||||
- Add systemd build dependency
|
||||
* Migrate debian/fwupd.preinst content to debian/fwupd.maintscript
|
||||
|
||||
-- Mario Limonciello <mario.limonciello@dell.com> Tue, 08 Dec 2020 08:30:56 -0600
|
||||
|
||||
|
||||
4
debian/fwupd.maintscript
vendored
Normal file
4
debian/fwupd.maintscript
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
|
||||
rm_conffile /etc/fwupd.conf 1.0.0~
|
||||
rm_conffile /etc/fwupd/remotes.d/fwupd.conf 1.2.7~
|
||||
rm_conffile /etc/dbus-1/system.d/org.freedesktop.fwupd.conf 1.3.2~
|
||||
9
debian/fwupd.preinst
vendored
9
debian/fwupd.preinst
vendored
@ -3,15 +3,6 @@ set -e
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
|
||||
dpkg-maintscript-helper rm_conffile \
|
||||
/etc/fwupd.conf 1.0.0~ -- "$@"
|
||||
dpkg-maintscript-helper rm_conffile \
|
||||
/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~ -- "$@"
|
||||
fi
|
||||
|
||||
# 1.3.2 had fwupd-refresh.service and fwupd.service both claiming
|
||||
# this directory, but fwupd-refresh.service used DynamicUser directive
|
||||
# meaning no other unit could access it.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user