Bob Mottram 8 år sedan
förälder
incheckning
c17e6eec10
1 ändrade filer med 6 tillägg och 4 borttagningar
  1. 6
    4
      doc/EN/devguide.org

+ 6
- 4
doc/EN/devguide.org Visa fil

@@ -121,9 +121,10 @@ function restore_local_myappname {
121 121
     restore_database myappname
122 122
 
123 123
     # Restore some data from a directory
124
-    # Note that we don't restore directly but to a temporary directory
125
-    # and then copy the files. This ensures that if there is a restore
126
-    # failure you don't end up with half-copied or corrupted files
124
+    # Note that we don't restore directly but to a temporary
125
+    # directory and then copy the files. This ensures that if
126
+    # there is a restore failure you don't end up with
127
+    # half-copied or corrupted files
127 128
     restore_directory_from_usb $MYAPP_DATA_DIR myappname
128 129
     cp -r $temp_restore_dir/$MYAPP_DATA_DIR $MYAPP_DATA_DIR
129 130
     rm -rf $temp_restore_dir
@@ -190,7 +191,8 @@ function install_myappname {
190 191
                                80 ${MYAPPNAME_ONION_PORT})
191 192
 
192 193
     # Do any other configuration
193
-    # Here you might use $ONION_ONLY or $SOME_IMPORTANT_CONFIG_VARIABLE
194
+    # Here you might use $ONION_ONLY or
195
+    # $SOME_IMPORTANT_CONFIG_VARIABLE
194 196
 
195 197
     # Mark the app as having installed successfully
196 198
     # If this variable isn't set then it will be assumed that