文件操作 - apport.postrm
返回文件管理
返回主菜单
删除本文件
文件: /var/lib/dpkg/info/apport.postrm
编辑文件内容
#!/bin/sh set -e # Automatically added by dh_installinit/13.6ubuntu1 if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = "purge" ] ; then update-rc.d apport remove >/dev/null fi # End automatically added section # Automatically added by dh_installdeb/13.6ubuntu1 dpkg-maintscript-helper rm_conffile /etc/init/apport.conf 2.20.6-0ubuntu5~ -- "$@" # End automatically added section # Automatically added by dh_installdeb/13.6ubuntu1 dpkg-maintscript-helper rm_conffile /etc/apport/native-origins.d/lts-q-backports 2.5.1-0ubuntu8~ -- "$@" # End automatically added section # Automatically added by dh_systemd_start/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_systemd_enable/13.6ubuntu1 if [ "$1" = "remove" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper mask 'apport-autoreport.path' 'apport-autoreport.timer' 'apport-forward.socket' >/dev/null || true fi fi if [ "$1" = "purge" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper purge 'apport-autoreport.path' 'apport-autoreport.timer' 'apport-forward.socket' >/dev/null || true deb-systemd-helper unmask 'apport-autoreport.path' 'apport-autoreport.timer' 'apport-forward.socket' >/dev/null || true fi fi # End automatically added section
修改文件时间
将文件时间修改为当前时间的前一年
删除文件