更新postrm
This commit is contained in:
@@ -24,4 +24,4 @@ ln -s /opt/apps/com.gitee.uengine.runner.spark/files/uengine-runner-applist-laun
|
||||
# 因为 Ubuntu 的问题,省略
|
||||
gtk-update-icon-cache /usr/share/icons/bloom > /dev/null | true
|
||||
# 向服务器返回安装数加1(不显示内容且忽略错误)
|
||||
python3 /opt/apps/com.gitee.uengine.runner.spark/files/Download.py 1.8.3 > /dev/null | true
|
||||
python3 /opt/apps/com.gitee.uengine.runner.spark/files/Download.py 2.0.0 > /dev/null | true
|
||||
|
||||
@@ -37,6 +37,7 @@ if [ "$1" = "purge" ]; then
|
||||
echo /home/$username
|
||||
if [ -d "/home/$username/.config/uengine-runner/" ]; then
|
||||
rm -rf "/home/$username/.config/uengine-runner/"
|
||||
rm -rf "/home/$username/.local/share/uengine-runner"
|
||||
fi
|
||||
done
|
||||
# 清理 root 用户的配置文件
|
||||
|
||||
Reference in New Issue
Block a user