2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 13:47:15 +08:00

feat: 部分软件增加安装校验

This commit is contained in:
耗子
2024-06-28 16:41:57 +08:00
parent 5f85e7fbe0
commit 32fb87243b
9 changed files with 42 additions and 2 deletions

View File

@@ -53,6 +53,11 @@ else
echo "错误:耗子面板不支持该系统"
exit 1
fi
if [ "$?" != "0" ]; then
echo -e $HR
echo "错误:安装依赖软件失败,请截图错误信息寻求帮助。"
exit 1
fi
postgresqlUserCheck=$(cat /etc/passwd | grep postgres)
if [ "${postgresqlUserCheck}" == "" ]; then