fix: 更新脚本以支持远程数据库配置和修复文件路径
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user