文件操作 - tcl.preinst
返回文件管理
返回主菜单
删除本文件
文件: /var/lib/dpkg/info/tcl.preinst
编辑文件内容
#!/bin/sh set -e case "$1" in install|upgrade) # Currently the alternatives mechanism is not used if dpkg --compare-versions "$2" lt-nl "8.6.0+2"; then update-alternatives --remove-all tclsh || true fi ;; abort-upgrade) ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 1 ;; esac
修改文件时间
将文件时间修改为当前时间的前一年
删除文件