mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-09-26 05:02:21 +08:00
去除unlink
This commit is contained in:
parent
b93199bb05
commit
7f33d2fff7
@ -1,11 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
PACKAGE_NAME="$DPKG_MAINTSCRIPT_PACKAGE"
|
PACKAGE_NAME="$DPKG_MAINTSCRIPT_PACKAGE"
|
||||||
if [ "$1" = "remove" ] || [ "$1" = "purge" ];then
|
if [ "$1" = "remove" ] || [ "$1" = "purge" ];then
|
||||||
if [ "$PACKAGE_NAME" = "cn.flamescion.bookworm-compatibility-mode" ];then
|
|
||||||
unlink /usr/bin/bookworm-run
|
|
||||||
unlink /usr/bin/ace-uninstall-helper
|
|
||||||
unlink /usr/bin/ace-uninstall-helper-gui
|
|
||||||
fi
|
|
||||||
echo "清理卸载残留"
|
echo "清理卸载残留"
|
||||||
|
|
||||||
rm -rf /opt/apps/$PACKAGE_NAME
|
rm -rf /opt/apps/$PACKAGE_NAME
|
||||||
|
Loading…
x
Reference in New Issue
Block a user