文件操作 - appstream.postrm
返回文件管理
返回主菜单
删除本文件
文件: /var/lib/dpkg/info/appstream.postrm
编辑文件内容
#!/bin/sh # postrm script for appstream set -e if [ "$1" = "purge" ]; then # remove the AppStream global cache rm -rf /var/cache/swcatalog/cache rmdir /var/cache/swcatalog/ | true # remove the AppStream data fetched via APT rm -rf /var/lib/swcatalog fi
修改文件时间
将文件时间修改为当前时间的前一年
删除文件