mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-12-14 19:12:05 +08:00
uninstaller
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
Package: cn.flamescion.bookworm-compatibility-mode
|
||||
Version: 12.3.3
|
||||
Version: 12.3.4
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Depends: bubblewrap,flatpak
|
||||
Depends: bubblewrap,flatpak,zenity
|
||||
Maintainer: shenmo <shenmo@spark-app.store>
|
||||
Architecture: arm64
|
||||
Description: bwrap wrapper for install and running debs inside a bookworm container
|
||||
|
||||
@@ -4,4 +4,5 @@ export PACKAGE_NAME="$DPKG_MAINTSCRIPT_PACKAGE"
|
||||
if [ "$PACKAGE_NAME" = "cn.flamescion.bookworm-compatibility-mode" ];then
|
||||
ln -sf /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bin/bookworm-run /usr/bin/bookworm-run
|
||||
ln -sf /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bin/ace-uninstall-helper /usr/bin/ace-uninstall-helper
|
||||
ln -sf /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bin/ace-uninstall-helper-gui /usr/bin/ace-uninstall-helper-gui
|
||||
fi
|
||||
|
||||
@@ -4,6 +4,7 @@ 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 "清理卸载残留"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user