Browse Source

Install name

Bob Mottram 9 years ago
parent
commit
7b3b37e981
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      src/freedombone

+ 4
- 4
src/freedombone View File

6385
         return
6385
         return
6386
     fi
6386
     fi
6387
 
6387
 
6388
-    if ! grep -Fxq "install_owncloud_repo" $COMPLETION_FILE; then
6388
+    if ! grep -Fxq "install_owncloud_from_repo" $COMPLETION_FILE; then
6389
         echo $'Tried to install the Owncloud music app, but Owncloud installation was not found'
6389
         echo $'Tried to install the Owncloud music app, but Owncloud installation was not found'
6390
         exit 9823
6390
         exit 9823
6391
     fi
6391
     fi
6523
             /var/www/${OWNCLOUD_DOMAIN_NAME}/htdocs/occ files:scan $USRNAME
6523
             /var/www/${OWNCLOUD_DOMAIN_NAME}/htdocs/occ files:scan $USRNAME
6524
         fi
6524
         fi
6525
     done
6525
     done
6526
-    
6526
+
6527
     # TODO enable this once upgrade is confirmed working
6527
     # TODO enable this once upgrade is confirmed working
6528
     #apt-get -y remove --purge owncloud
6528
     #apt-get -y remove --purge owncloud
6529
     #rm -rf /etc/owncloud
6529
     #rm -rf /etc/owncloud
6564
 
6564
 
6565
     # update to a new commit if needed
6565
     # update to a new commit if needed
6566
     set_repo_commit $OWNCLOUD_PATH "Owncloud commit" "$OWNCLOUD_COMMIT" $OWNCLOUD_REPO
6566
     set_repo_commit $OWNCLOUD_PATH "Owncloud commit" "$OWNCLOUD_COMMIT" $OWNCLOUD_REPO
6567
-    
6567
+
6568
     OWNCLOUD_COMPLETION_MSG1=$" *** ${PROJECT_NAME} $SYSTEM_TYPE is now installed ***"
6568
     OWNCLOUD_COMPLETION_MSG1=$" *** ${PROJECT_NAME} $SYSTEM_TYPE is now installed ***"
6569
     OWNCLOUD_COMPLETION_MSG2=$"Open $OWNCLOUD_DOMAIN_NAME in a web browser to complete the setup"
6569
     OWNCLOUD_COMPLETION_MSG2=$"Open $OWNCLOUD_DOMAIN_NAME in a web browser to complete the setup"
6570
     if grep -Fxq "install_owncloud_from_repo" $COMPLETION_FILE; then
6570
     if grep -Fxq "install_owncloud_from_repo" $COMPLETION_FILE; then
6623
     else
6623
     else
6624
         sed -i "s/Owncloud commit.*/Owncloud commit:$OWNCLOUD_COMMIT/g" $COMPLETION_FILE
6624
         sed -i "s/Owncloud commit.*/Owncloud commit:$OWNCLOUD_COMMIT/g" $COMPLETION_FILE
6625
     fi
6625
     fi
6626
-    
6626
+
6627
     install_mariadb
6627
     install_mariadb
6628
     get_mariadb_password
6628
     get_mariadb_password
6629
 
6629