文件操作 - popularity-contest.postrm
返回文件管理
返回主菜单
删除本文件
文件: /var/lib/dpkg/info/popularity-contest.postrm
编辑文件内容
#!/bin/sh set -e # purge the config file which is created in the postinst script if [ "$1" = purge ] ; then rm -f /etc/popularity-contest.conf /etc/cron.d/popularity-contest rm -f /var/lib/popularity-contest/lastsub if [ -d /var/lib/popularity-contest ] ; then rmdir --ignore-fail-on-non-empty /var/lib/popularity-contest fi fi if [ "$1" = "purge" ] && [ -e /usr/share/debconf/confmodule ]; then # Source debconf library. . /usr/share/debconf/confmodule # Remove my changes to the db. db_purge fi # Automatically added by dh_installdebconf/13.11.1 if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_purge fi # End automatically added section
修改文件时间
将文件时间修改为当前时间的前一年
删除文件