mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-06-03 21:59:52 +08:00
adapt to old version
This commit is contained in:
parent
73e3bec9c3
commit
1b531a75b1
@ -4,6 +4,8 @@ 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/cn.flamescion.bookworm-compatibility-mode/files/ace-env
|
||||
fi
|
||||
ln -sfv /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/ace-env /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bookworm-env
|
||||
else
|
||||
rm -rf /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bookworm-env
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user