adjust: 默认目录改成 amber-ce-bookworm
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: Auto upgrade service always pop up upgradable notifier
|
||||
* fix: /etc/apt/sources.list only request main repo
|
||||
* fix: sudo function error: Need sudo sudo to really sudo
|
||||
* fix: ACE Host Integration fail
|
||||
* adjust: remove dpkg from building depends
|
||||
* 把默认目录改为 amber-ce-bookworm
|
||||
|
||||
-- shenmo <shenmo@spark-app.store> Wed, 25 Sep 2024 23:15:49 +0800
|
||||
|
||||
@@ -2,17 +2,21 @@
|
||||
export PACKAGE_NAME="$DPKG_MAINTSCRIPT_PACKAGE"
|
||||
|
||||
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
|
||||
ln -sfv /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/ace-env /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bookworm-env
|
||||
unlink /opt/apps/amber-ce-bookworm
|
||||
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
|
||||
|
||||
|
||||
/opt/apps/$PACKAGE_NAME/files/bin/ace-init
|
||||
|
||||
|
||||
if [ "${PACKAGE_NAME}" = "cn.flamescion.bookworm-compatibility-mode" ];then
|
||||
systemctl daemon-reload
|
||||
systemctl enable ace-bookworm-auto-upgrade
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
PACKAGE_NAME="$DPKG_MAINTSCRIPT_PACKAGE"
|
||||
|
||||
if [ "${PACKAGE_NAME}" = "cn.flamescion.bookworm-compatibility-mode" ];then
|
||||
PACKAGE_NAME=amber-ce-bookworm # 为了后面正确清理
|
||||
systemctl stop ace-bookworm-auto-upgrade
|
||||
systemctl disable ace-bookworm-auto-upgrade
|
||||
fi
|
||||
|
||||
2
debian/rules
vendored
@@ -6,7 +6,7 @@
|
||||
dh $@
|
||||
|
||||
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:
|
||||
|
||||
|
||||
@@ -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/
|
||||