文件操作 - polkitd.postrm
返回文件管理
返回主菜单
删除本文件
文件: /var/lib/dpkg/info/polkitd.postrm
编辑文件内容
#!/bin/sh set -e # Automatically added by dh_installdeb/13.11.4 dpkg-maintscript-helper rm_conffile /etc/pam.d/polkit-1 122-2\~ -- "$@" dpkg-maintscript-helper rm_conffile /etc/polkit-1/localauthority.conf.d/50-localauthority.conf 121\+compat0.1-1\~ -- "$@" dpkg-maintscript-helper rm_conffile /etc/polkit-1/localauthority.conf.d/51-debian-sudo.conf 121\+compat0.1-1\~ -- "$@" dpkg-maintscript-helper rm_conffile /etc/polkit-1/localauthority.conf.d/51-ubuntu-admin.conf 121\+compat0.1-1\~ -- "$@" dpkg-maintscript-helper rm_conffile /etc/polkit-1/rules.d/40-debian-sudo.rules 121\~ polkitd-javascript -- "$@" dpkg-maintscript-helper rm_conffile /etc/polkit-1/rules.d/40-ubuntu-admin.rules 121\~ polkitd-javascript -- "$@" dpkg-maintscript-helper rm_conffile /etc/polkit-1/rules.d/50-default.rules 121\~ polkitd-javascript -- "$@" # End automatically added section # Automatically added by dh_installsystemd/13.11.4 if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then systemctl --system daemon-reload >/dev/null || true fi # End automatically added section # Automatically added by dh_installxmlcatalogs/UNDECLARED if [ "$1" = "purge" ]; then rm -f /etc/xml/polkitd.xml /etc/xml/polkitd.xml.old fi # End automatically added section if [ "$1" = "purge" ] && [ -d /var/lib/polkit-1 ]; then rm -fr /var/lib/polkit-1/.cache || true rmdir --ignore-fail-on-non-empty /var/lib/polkit-1 fi # vim:set sw=4 sts=4 et:
修改文件时间
将文件时间修改为当前时间的前一年
删除文件