Bob Mottram 9 years ago
parent
commit
f7ac73fe01
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/freedombone

+ 2
- 2
src/freedombone View File

@@ -6479,8 +6479,8 @@ function upgrade_owncloud_start {
6479 6479
     fi
6480 6480
 
6481 6481
     # remove any owncloud entries from completion
6482
-    sed -i 's/install_owncloud.*/d' $COMPLETION_FILE
6483
-    sed -i 's/owncloud.*/d' $COMPLETION_FILE
6482
+    sed -i '/install_owncloud.*/d' $COMPLETION_FILE
6483
+    sed -i '/owncloud.*/d' $COMPLETION_FILE
6484 6484
 
6485 6485
     # create directories
6486 6486
     if [ ! -d $OWNCLOUD_UPGRADE_PATH/data ]; then