This commit is contained in:
2023-07-19 17:36:02 +08:00
parent 55e6e4909a
commit 363f45d6cd
10 changed files with 403 additions and 0 deletions

8
src/DEBIAN/control Executable file
View File

@@ -0,0 +1,8 @@
Package: store.spark-app.bookworm-compatibility-mode
Version: 12.0
Section: misc
Priority: optional
Depends: bubblewrap
Maintainer: shenmo <shenmo@spark-app.store>
Architecture: amd64
Description: bwrap wrapper for install and running debs inside a bookworm container

3
src/DEBIAN/postinst Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
/opt/apps/store.spark-app.bookworm-compatibility-mode/files/bin/bookworm-init

10
src/DEBIAN/postrm Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
if [ "$1" = "remove" ] || [ "$1" = "purge" ];then
echo "清理卸载残留"
rm -rf /opt/apps/store.spark-app.bookworm-compatibility-mode/
else
echo "非卸载,跳过清理"
fi