Bob Mottram 9 年前
父节点
当前提交
f0ed04418f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/freedombone

+ 1
- 1
src/freedombone 查看文件

@@ -11066,7 +11066,7 @@ function create_upgrade_script {
11066 11066
 
11067 11067
   echo '#!/bin/bash' > /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
11068 11068
   echo '' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
11069
-  echo 'if [ ! -d /root/freedombone]; then' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
11069
+  echo 'if [ ! -d /root/freedombone ]; then' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
11070 11070
   echo "    git clone $FREEDOMBONE_REPO /root/freedombone" >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
11071 11071
   echo 'fi' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
11072 11072
   echo '' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME