mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-12-14 11:02:05 +08:00
12.4.14-2
This commit is contained in:
21
debian/cn.flamescion.bookworm-compatibility-mode.postrm
vendored
Executable file
21
debian/cn.flamescion.bookworm-compatibility-mode.postrm
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
PACKAGE_NAME="$DPKG_MAINTSCRIPT_PACKAGE"
|
||||
|
||||
if [ "${PACKAGE_NAME}" = "cn.flamescion.bookworm-compatibility-mode" ];then
|
||||
systemctl stop ace-bookworm-auto-upgrade
|
||||
systemctl disable ace-bookworm-auto-upgrade
|
||||
fi
|
||||
|
||||
|
||||
|
||||
if [ "$1" = "remove" ] || [ "$1" = "purge" ];then
|
||||
|
||||
echo "清理卸载残留"
|
||||
|
||||
rm -rf /opt/apps/$PACKAGE_NAME
|
||||
else
|
||||
echo "非卸载,跳过清理"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user