mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-12-15 03:22:06 +08:00
14 lines
308 B
Bash
Executable File
14 lines
308 B
Bash
Executable File
#!/bin/bash
|
|
PACKAGE_NAME="$DPKG_MAINTSCRIPT_PACKAGE"
|
|
if [ "$1" = "remove" ] || [ "$1" = "purge" ];then
|
|
if [ "$PACKAGE_NAME" = "cn.flamescion.bookworm-compatibility-mode" ];then
|
|
unlink /usr/bin/bookworm-run
|
|
fi
|
|
echo "清理卸载残留"
|
|
|
|
rm -rf /opt/apps/$PACKAGE_NAME
|
|
else
|
|
echo "非卸载,跳过清理"
|
|
fi
|
|
|