mirror of
https://gitee.com/amber-ce/amber-pm
synced 2026-03-25 23:19:49 +08:00
src update
This commit is contained in:
20
src/DEBIAN/postrm
Executable file
20
src/DEBIAN/postrm
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
PACKAGE_NAME="$DPKG_MAINTSCRIPT_PACKAGE"
|
||||
systemctl stop gxde-apm-fixer
|
||||
systemctl disable gxde-apm-fixer
|
||||
systemctl stop apm-daily-update
|
||||
systemctl disable apm-daily-update
|
||||
|
||||
|
||||
|
||||
if [ "$1" = "remove" ] || [ "$1" = "purge" ];then
|
||||
|
||||
echo "清理卸载残留"
|
||||
|
||||
rm -rf /var/lib/apm/$PACKAGE_NAME
|
||||
else
|
||||
echo "非卸载,跳过清理"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user