芝麻web文件管理V1.00
编辑当前文件:/var/lib/dpkg/info/fwupd.postrm
#!/bin/sh set -e # Automatically added by dh_installdeb/13.6ubuntu1 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\~ -- "$@" dpkg-maintscript-helper rm_conffile /etc/modules-load.d/fwupd-msr.conf 1.5.3\~ -- "$@" dpkg-maintscript-helper rm_conffile /etc/modules-load.d/fwupd-platform-integrity.conf 1.5.3\~ -- "$@" # End automatically added section # Automatically added by dh_installsystemd/13.6ubuntu1 if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then systemctl --system daemon-reload >/dev/null || true fi # End automatically added section # Automatically added by dh_installsystemd/13.6ubuntu1 if [ "$1" = "remove" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper mask 'fwupd-refresh.timer' >/dev/null || true fi fi if [ "$1" = "purge" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper purge 'fwupd-refresh.timer' >/dev/null || true deb-systemd-helper unmask 'fwupd-refresh.timer' >/dev/null || true fi fi # End automatically added section if [ "$1" = purge ]; then rm -rf /var/lib/fwupd/gnupg rm -f /var/cache/app-info/xmls/fwupd.xml fi 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~ -- "$@" 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 if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then ORIGINAL=/etc/fwupd/uefi.conf NEW=/etc/fwupd/uefi_capsule.conf dpkg-maintscript-helper mv_conffile $ORIGINAL $NEW 1.5.5~ -- "$@" fi