mirror of
https://gitee.com/amber-ce/amber-pm
synced 2026-05-14 02:00:20 +08:00
更新ace-env中的aptss配置,去掉apm debug中检查容器的逻辑,避免ubuntu哈气
This commit is contained in:
@@ -14,14 +14,14 @@ export ACE_PACKAGE_NAME=$PKGNAME
|
|||||||
|
|
||||||
chrootEnvPath=/var/lib/apm/$PKGNAME/files/ace-env
|
chrootEnvPath=/var/lib/apm/$PKGNAME/files/ace-env
|
||||||
|
|
||||||
if [ ! -e $chrootEnvPath/finish.flag ];then
|
# if [ ! -e $chrootEnvPath/finish.flag ];then
|
||||||
|
|
||||||
if [ "$(id -u)" = "0" ]; then
|
|
||||||
`dirname $chrootEnvPath`/bin/ace-init
|
|
||||||
else
|
|
||||||
pkexec `dirname $chrootEnvPath`/bin/ace-init
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
# if [ "$(id -u)" = "0" ]; then
|
||||||
|
# `dirname $chrootEnvPath`/bin/ace-init
|
||||||
|
# else
|
||||||
|
# pkexec `dirname $chrootEnvPath`/bin/ace-init
|
||||||
|
# fi
|
||||||
|
# Ubuntu 26.04 中断了我们配置容器
|
||||||
|
|
||||||
fi
|
fi
|
||||||
non_root_user=$(who | awk '{print $1}' | head -n 1)
|
non_root_user=$(who | awk '{print $1}' | head -n 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user