fix: build.sh copies index.ui, setup_rbac_perms adds /index.ui any + user_panel/ui
This commit is contained in:
parent
bb7e5ef5ac
commit
51db747252
3
build.sh
3
build.sh
@ -169,8 +169,9 @@ for m in appbase rbac pcpool pcc storage_mgr image_mgr; do
|
||||
ln -sfn "${PKGDIR}/${m}/wwwroot" "${CDIR}/wwwroot/${m}" 2>/dev/null || true
|
||||
done
|
||||
ln -sfn "${PKGDIR}/pccs/wwwroot" "${CDIR}/wwwroot/pccs" 2>/dev/null || true
|
||||
# 确保根级 index.html 可访问
|
||||
# 确保根级 index.html / index.ui 可访问
|
||||
cp -f "${PKGDIR}/pccs/wwwroot/index.html" "${CDIR}/wwwroot/index.html" 2>/dev/null || true
|
||||
cp -f "${PKGDIR}/pccs/wwwroot/index.ui" "${CDIR}/wwwroot/index.ui" 2>/dev/null || true
|
||||
# bricks
|
||||
if [ -f "${PKGDIR}/bricks/build.sh" ]; then
|
||||
(cd "${PKGDIR}/bricks" && npm install --silent 2>/dev/null && bash build.sh 2>&1 | tail -2) || true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user