mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 13:47:15 +08:00
feat: 部分软件增加安装校验
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user