1
0

fix: 更新脚本以支持远程数据库配置和修复文件路径

This commit is contained in:
TsMask
2025-05-21 10:20:02 +08:00
parent 46bc90c2e4
commit 2f5031cbd4
5 changed files with 22 additions and 16 deletions

View File

@@ -10,7 +10,7 @@ echo " sudo systemctl start|stop|status|restart omc.service"
echo ""
# Check if this is the first installation or upgrade
if [ ! -f $RootDir/omc.conf ]; then
if [ ! -f $RootDir/machine.ini ]; then
# First installation, perform the related operations
chmod +rx /usr/local/bin/omc
cp $RootDir/default/omc.conf $RootDir/omc.conf