文件操作 - unminimize.postinst
返回文件管理
返回主菜单
删除本文件
文件: /var/lib/dpkg/info/unminimize.postinst
编辑文件内容
#!/bin/sh set -e case "$1" in configure) # ensure the file exists and its content to ensure we're removing the right file if [ -f "/usr/local/sbin/unminimize" ] && grep -qi "This system has been minimized by removing packages" "/usr/local/sbin/unminimize"; then rm -f /usr/local/sbin/unminimize fi ;; upgrade|abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac exit 0
修改文件时间
将文件时间修改为当前时间的前一年
删除文件