mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-06-09 00:26:01 +08:00
改回原包名
This commit is contained in:
parent
0bbaaea422
commit
73e3bec9c3
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
*.deb
|
||||
src/opt/apps/amber-ce-bookworm/files/ace-env.tar.xz
|
||||
src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files/ace-env.tar.xz
|
||||
|
@ -1,8 +1,8 @@
|
||||
Package: amber-ce-bookworm
|
||||
Package: cn.flamescion.bookworm-compatibility-mode
|
||||
Version: 12.4.11
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Depends: bubblewrap,flatpak,zenity,policykit-1,gcc,systemd
|
||||
Depends: bubblewrap,flatpak,zenity,policykit-1,gcc,systemd,liblol
|
||||
Maintainer: shenmo <shenmo@spark-app.store>
|
||||
Architecture: loong64
|
||||
Description: bwrap wrapper for install and running debs inside a bookworm container
|
||||
|
@ -2,7 +2,7 @@
|
||||
export PACKAGE_NAME="$DPKG_MAINTSCRIPT_PACKAGE"
|
||||
/opt/apps/$PACKAGE_NAME/files/bin/ace-init
|
||||
|
||||
if [ "${PACKAGE_NAME}" = "amber-ce-bookworm" ];then
|
||||
if [ "${PACKAGE_NAME}" = "cn.flamescion.bookworm-compatibility-mode" ];then
|
||||
systemctl daemon-reload
|
||||
systemctl enable ace-bookworm-auto-upgrade
|
||||
systemctl start ace-bookworm-auto-upgrade
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
PACKAGE_NAME="$DPKG_MAINTSCRIPT_PACKAGE"
|
||||
|
||||
if [ "${PACKAGE_NAME}" = "amber-ce-bookworm" ];then
|
||||
if [ "${PACKAGE_NAME}" = "cn.flamescion.bookworm-compatibility-mode" ];then
|
||||
systemctl stop ace-bookworm-auto-upgrade
|
||||
systemctl disable ace-bookworm-auto-upgrade
|
||||
fi
|
||||
|
@ -1,10 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "${PACKAGE_NAME}" = "amber-ce-bookworm" ];then
|
||||
if [ "${PACKAGE_NAME}" = "cn.flamescion.bookworm-compatibility-mode" ];then
|
||||
if [ -e /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bookworm-env ];then
|
||||
if [ "$(arch)" != "loongarch64" ];then
|
||||
mv /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bookworm-env /opt/apps/amber-ce-bookworm/files/ace-env
|
||||
rm -rf /opt/apps/cn.flamescion.bookworm-compatibility-mode
|
||||
mv /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bookworm-env /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/ace-env
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
1
src/opt/apps/amber-ce-bookworm
Symbolic link
1
src/opt/apps/amber-ce-bookworm
Symbolic link
@ -0,0 +1 @@
|
||||
./cn.flamescion.bookworm-compatibility-mode/
|
Before Width: | Height: | Size: 196 KiB After Width: | Height: | Size: 196 KiB |
Before Width: | Height: | Size: 134 KiB After Width: | Height: | Size: 134 KiB |
Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 118 KiB |
Loading…
x
Reference in New Issue
Block a user