尝试性加入主目录沙箱--Wine

This commit is contained in:
2025-10-31 21:09:16 +08:00
parent 7b06cf293b
commit 908f3ab9de
5 changed files with 52 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
Package: apm
Source: amber-ce
Version: 1.1.1
Version: 1.1.2
Architecture: amd64
Maintainer: shenmo <shenmo@spark-app.store>
Installed-Size: 48724

View File

@@ -5,11 +5,23 @@ systemctl disable apm-daily-update
if [ "$1" = "remove" ] || [ "$1" = "purge" ];then
if [ "$1" = "remove" ] ;then
echo "执行卸载操作,您的容器仍然被保留在 /var/lib/apm/ 下。请执行 sudo apt purge apm 以清理"
elif [ "$1" = "purge" ];then
echo "清理卸载残留"
rm -rf /var/lib/apm/
for username in $(ls /home)
do
echo /home/$username
if [ -d "/home/$username/.apm/" ]
then
rm -fr "/home/$username/.apm/"
fi
done
else
echo "非卸载,跳过清理"
fi