Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1db8d4b98c | |||
| 1ad4a2bfd4 |
2
.gitignore
vendored
@@ -1,2 +1,2 @@
|
|||||||
#*.deb
|
#*.deb
|
||||||
src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files/ace-env.tar.xz
|
src/opt/apps/amber-ce-bookworm/files/ace-env.tar.xz
|
||||||
|
|||||||
3
debian/changelog
vendored
@@ -1,9 +1,10 @@
|
|||||||
amber-ce-bookworm (12.4.15-1) UNRELEASED; urgency=low
|
amber-ce-bookworm (12.5) UNRELEASED; urgency=low
|
||||||
* fix: Can't pass args via bwrap
|
* fix: Can't pass args via bwrap
|
||||||
* fix: Auto upgrade service always pop up upgradable notifier
|
* fix: Auto upgrade service always pop up upgradable notifier
|
||||||
* fix: /etc/apt/sources.list only request main repo
|
* fix: /etc/apt/sources.list only request main repo
|
||||||
* fix: sudo function error: Need sudo sudo to really sudo
|
* fix: sudo function error: Need sudo sudo to really sudo
|
||||||
* fix: ACE Host Integration fail
|
* fix: ACE Host Integration fail
|
||||||
* adjust: remove dpkg from building depends
|
* adjust: remove dpkg from building depends
|
||||||
|
* 把默认目录改为 amber-ce-bookworm
|
||||||
|
|
||||||
-- shenmo <shenmo@spark-app.store> Wed, 25 Sep 2024 23:15:49 +0800
|
-- shenmo <shenmo@spark-app.store> Wed, 25 Sep 2024 23:15:49 +0800
|
||||||
|
|||||||
@@ -2,17 +2,21 @@
|
|||||||
export PACKAGE_NAME="$DPKG_MAINTSCRIPT_PACKAGE"
|
export PACKAGE_NAME="$DPKG_MAINTSCRIPT_PACKAGE"
|
||||||
|
|
||||||
if [ "${PACKAGE_NAME}" = "cn.flamescion.bookworm-compatibility-mode" ];then
|
if [ "${PACKAGE_NAME}" = "cn.flamescion.bookworm-compatibility-mode" ];then
|
||||||
if [ -d /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bookworm-env ];then
|
if [ -d /opt/apps/cn.flamescion.bookworm-compatibility-mode/ ] || [[ -f "/opt/apps/amber-ce-bookworm" ]];then
|
||||||
|
|
||||||
mv /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bookworm-env /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/ace-env
|
unlink /opt/apps/amber-ce-bookworm
|
||||||
ln -sfv /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/ace-env /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bookworm-env
|
mv -v /opt/apps/cn.flamescion.bookworm-compatibility-mode/ /opt/apps/amber-ce-bookworm/
|
||||||
|
|
||||||
|
ln -sv ./amber-ce-bookworm /opt/apps/cn.flamescion.bookworm-compatibility-mode
|
||||||
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
/opt/apps/$PACKAGE_NAME/files/bin/ace-init
|
/opt/apps/$PACKAGE_NAME/files/bin/ace-init
|
||||||
|
|
||||||
|
|
||||||
if [ "${PACKAGE_NAME}" = "cn.flamescion.bookworm-compatibility-mode" ];then
|
if [ "${PACKAGE_NAME}" = "cn.flamescion.bookworm-compatibility-mode" ];then
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable ace-bookworm-auto-upgrade
|
systemctl enable ace-bookworm-auto-upgrade
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
PACKAGE_NAME="$DPKG_MAINTSCRIPT_PACKAGE"
|
PACKAGE_NAME="$DPKG_MAINTSCRIPT_PACKAGE"
|
||||||
|
|
||||||
if [ "${PACKAGE_NAME}" = "cn.flamescion.bookworm-compatibility-mode" ];then
|
if [ "${PACKAGE_NAME}" = "cn.flamescion.bookworm-compatibility-mode" ];then
|
||||||
|
PACKAGE_NAME=amber-ce-bookworm # 为了后面正确清理
|
||||||
systemctl stop ace-bookworm-auto-upgrade
|
systemctl stop ace-bookworm-auto-upgrade
|
||||||
systemctl disable ace-bookworm-auto-upgrade
|
systemctl disable ace-bookworm-auto-upgrade
|
||||||
fi
|
fi
|
||||||
|
|||||||
2
debian/rules
vendored
@@ -6,7 +6,7 @@
|
|||||||
dh $@
|
dh $@
|
||||||
|
|
||||||
override_dh_auto_configure:
|
override_dh_auto_configure:
|
||||||
cd src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files && bash build-container.sh $(shell uname -m)
|
cd src/opt/apps/amber-ce-bookworm/files && bash build-container.sh $(shell uname -m)
|
||||||
|
|
||||||
override_dh_dwz:
|
override_dh_dwz:
|
||||||
|
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
./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 |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 93 KiB |
1
src/opt/apps/cn.flamescion.bookworm-compatibility-mode
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
./amber-ce-bookworm/
|
||||||