更新postrm

This commit is contained in:
2023-01-18 15:50:04 +08:00
parent e7e391600b
commit 8d4da8c4cf
20 changed files with 1098 additions and 72 deletions

View File

@@ -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

View File

@@ -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 用户的配置文件