mirror of
https://gitee.com/amber-ce/amber-pm
synced 2025-12-16 18:31:38 +08:00
1.0.7.2-1 正确地清理卸载目录
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
Package: apm
|
||||
Source: amber-ce
|
||||
Version: 1.0.7.2
|
||||
Version: 1.0.7.2-1
|
||||
Architecture: amd64
|
||||
Maintainer: shenmo <shenmo@spark-app.store>
|
||||
Installed-Size: 49056
|
||||
|
||||
@@ -11,7 +11,7 @@ if [ "$1" = "remove" ] || [ "$1" = "purge" ];then
|
||||
|
||||
echo "清理卸载残留"
|
||||
|
||||
rm -rf /var/lib/apm/$PACKAGE_NAME
|
||||
rm -rf /var/lib/apm/
|
||||
else
|
||||
echo "非卸载,跳过清理"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user