|
@@ -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
|