生态活动脚本更换helper和添加postrm

This commit is contained in:
2022-09-11 20:44:16 +08:00
parent d489f6f00d
commit c638648252
4 changed files with 22 additions and 4 deletions

View File

@@ -314,6 +314,8 @@ if [ -n "$desktop_file_categories" ]; then
find -iname "$desktop_file_icon" -exec cp "{}" "$outentries/icons/{}" \;
fi
# 写入 postrm 自动删除卸载残留脚本
$dstdir/DEBIAN/postrm
systemVersion=`cat /etc/os-version`
systemVersion=${systemVersion,,} # 获取系统版本
# 判断系统是否为 UOS