优化control

This commit is contained in:
gfdgd xi 2023-06-28 22:01:26 +08:00
parent fffa35a89f
commit cf62ac97cd
2 changed files with 2 additions and 2 deletions
deb/DEBIAN

@ -10,5 +10,5 @@ Type: binary, udeb
Priority: optional
Depends: python3, python3-pyqt5, bubblewrap, gx-env-runtime
Section: utils
Installed-Size: 2569264
Installed-Size: 1100
Description: gx-env-runtime

@ -2,7 +2,7 @@
# 删除软件缓存(留着也没什么用了)
# 缓存目录:~/.cache/deepin-wine-runner
if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
rm -rf /usr/share/applications/gx-env-*.desktop
rm -rf /usr/share/applications/gx-env/*.desktop
else
echo "非卸载,跳过清理"
fi