| 
				
			 | 
			
			
				@@ -2922,8 +2922,8 @@ function get_mariadb_redmatrix_admin_password { 
			 | 
		
	
		
			
			| 
				2922
			 | 
			
				2922
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				2923
			 | 
			
				2923
			 | 
			
			
				 function get_mariadb_owncloud_admin_password { 
			 | 
		
	
		
			
			| 
				2924
			 | 
			
				2924
			 | 
			
			
				   if [ -f /home/$MY_USERNAME/README ]; then 
			 | 
		
	
		
			
			| 
				2925
			 | 
			
				
			 | 
			
			
				-      if grep -q "MariaDB Owncloud admin password" /home/$MY_USERNAME/README; then 
			 | 
		
	
		
			
			| 
				2926
			 | 
			
				
			 | 
			
			
				-          OWNCLOUD_ADMIN_PASSWORD=$(cat /home/$MY_USERNAME/README | grep "MariaDB Owncloud admin password" | awk -F ':' '{print $2}' | sed 's/^ *//') 
			 | 
		
	
		
			
			| 
				
			 | 
			
				2925
			 | 
			
			
				+      if grep -q "Owncloud database password" /home/$MY_USERNAME/README; then 
			 | 
		
	
		
			
			| 
				
			 | 
			
				2926
			 | 
			
			
				+          OWNCLOUD_ADMIN_PASSWORD=$(cat /home/$MY_USERNAME/README | grep "Owncloud database password" | awk -F ':' '{print $2}' | sed 's/^ *//') 
			 | 
		
	
		
			
			| 
				2927
			 | 
			
				2927
			 | 
			
			
				       fi 
			 | 
		
	
		
			
			| 
				2928
			 | 
			
				2928
			 | 
			
			
				   fi 
			 | 
		
	
		
			
			| 
				2929
			 | 
			
				2929
			 | 
			
			
				 } 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -3101,13 +3101,19 @@ function install_owncloud { 
			 | 
		
	
		
			
			| 
				3101
			 | 
			
				3101
			 | 
			
			
				   get_mariadb_owncloud_admin_password 
			 | 
		
	
		
			
			| 
				3102
			 | 
			
				3102
			 | 
			
			
				   if [ ! $OWNCLOUD_ADMIN_PASSWORD ]; then 
			 | 
		
	
		
			
			| 
				3103
			 | 
			
				3103
			 | 
			
			
				       OWNCLOUD_ADMIN_PASSWORD=$(openssl rand -base64 32) 
			 | 
		
	
		
			
			| 
				
			 | 
			
				3104
			 | 
			
			
				+  fi 
			 | 
		
	
		
			
			| 
				
			 | 
			
				3105
			 | 
			
			
				+ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				3106
			 | 
			
			
				+  if ! grep -q "Database user: owncloudadmin" /home/$MY_USERNAME/README; then 
			 | 
		
	
		
			
			| 
				3104
			 | 
			
				3107
			 | 
			
			
				       echo '' >> /home/$MY_USERNAME/README 
			 | 
		
	
		
			
			| 
				3105
			 | 
			
				3108
			 | 
			
			
				       echo '' >> /home/$MY_USERNAME/README 
			 | 
		
	
		
			
			| 
				3106
			 | 
			
				3109
			 | 
			
			
				       echo 'Owncloud' >> /home/$MY_USERNAME/README 
			 | 
		
	
		
			
			| 
				3107
			 | 
			
				3110
			 | 
			
			
				       echo '========' >> /home/$MY_USERNAME/README 
			 | 
		
	
		
			
			| 
				3108
			 | 
			
				
			 | 
			
			
				-      echo "Your MariaDB Owncloud admin password is: $OWNCLOUD_ADMIN_PASSWORD" >> /home/$MY_USERNAME/README 
			 | 
		
	
		
			
			| 
				
			 | 
			
				3111
			 | 
			
			
				+      echo 'Owncloud database user: owncloudadmin' >> /home/$MY_USERNAME/README 
			 | 
		
	
		
			
			| 
				
			 | 
			
				3112
			 | 
			
			
				+      echo "Owncloud database password: $OWNCLOUD_ADMIN_PASSWORD" >> /home/$MY_USERNAME/README 
			 | 
		
	
		
			
			| 
				
			 | 
			
				3113
			 | 
			
			
				+      echo 'Owncloud database name: owncloud' >> /home/$MY_USERNAME/README 
			 | 
		
	
		
			
			| 
				3109
			 | 
			
				3114
			 | 
			
			
				       echo '' >> /home/$MY_USERNAME/README 
			 | 
		
	
		
			
			| 
				3110
			 | 
			
				
			 | 
			
			
				-      chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/README 
			 | 
		
	
		
			
			| 
				
			 | 
			
				3115
			 | 
			
			
				+      echo 'After creating an administrator account then create a user account via' >> /home/$MY_USERNAME/README 
			 | 
		
	
		
			
			| 
				
			 | 
			
				3116
			 | 
			
			
				+      echo "the Users dropdown menu entry. The username should be '$MY_USERNAME'." >> /home/$MY_USERNAME/README 
			 | 
		
	
		
			
			| 
				3111
			 | 
			
				3117
			 | 
			
			
				   fi 
			 | 
		
	
		
			
			| 
				3112
			 | 
			
				3118
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				3113
			 | 
			
				3119
			 | 
			
			
				   echo "create database owncloud; 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -3132,17 +3138,17 @@ quit" > $INSTALL_DIR/batch.sql 
			 | 
		
	
		
			
			| 
				3132
			 | 
			
				3138
			 | 
			
			
				   echo "    server_name $OWNCLOUD_DOMAIN_NAME;" >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3133
			 | 
			
				3139
			 | 
			
			
				   echo '    rewrite ^ https://$server_name$request_uri? permanent;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3134
			 | 
			
				3140
			 | 
			
			
				   echo '}' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3135
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				
			 | 
			
				3141
			 | 
			
			
				+  echo '' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3136
			 | 
			
				3142
			 | 
			
			
				   echo 'server {' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3137
			 | 
			
				3143
			 | 
			
			
				   echo '    listen 443 ssl;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3138
			 | 
			
				3144
			 | 
			
			
				   echo "    root /var/www/$OWNCLOUD_DOMAIN_NAME/htdocs;" >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3139
			 | 
			
				3145
			 | 
			
			
				   echo "    server_name $OWNCLOUD_DOMAIN_NAME;" >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3140
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				
			 | 
			
				3146
			 | 
			
			
				+  echo '' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3141
			 | 
			
				3147
			 | 
			
			
				   echo '    ssl on;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3142
			 | 
			
				3148
			 | 
			
			
				   echo "    ssl_certificate /etc/ssl/certs/$OWNCLOUD_DOMAIN_NAME.crt;" >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3143
			 | 
			
				3149
			 | 
			
			
				   echo "    ssl_certificate_key /etc/ssl/private/$OWNCLOUD_DOMAIN_NAME.key;" >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3144
			 | 
			
				3150
			 | 
			
			
				   echo "    ssl_dhparam /etc/ssl/certs/$OWNCLOUD_DOMAIN_NAME.dhparam;" >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3145
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				
			 | 
			
				3151
			 | 
			
			
				+  echo '' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3146
			 | 
			
				3152
			 | 
			
			
				   echo '    ssl_session_timeout 5m;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3147
			 | 
			
				3153
			 | 
			
			
				   echo '    ssl_prefer_server_ciphers on;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3148
			 | 
			
				3154
			 | 
			
			
				   echo "    ssl_protocols $SSL_PROTOCOLS; # not possible to do exclusive" >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -3153,49 +3159,45 @@ quit" > $INSTALL_DIR/batch.sql 
			 | 
		
	
		
			
			| 
				3153
			 | 
			
				3159
			 | 
			
			
				   echo '    # if you want to be able to access the site via HTTP' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3154
			 | 
			
				3160
			 | 
			
			
				   echo '    # then replace the above with the following:' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3155
			 | 
			
				3161
			 | 
			
			
				   echo '    # add_header Strict-Transport-Security "max-age=0;";' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3156
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				3157
			 | 
			
				3162
			 | 
			
			
				   echo "    # make sure webfinger and other well known services aren't blocked" >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3158
			 | 
			
				3163
			 | 
			
			
				   echo '    # by denying dot files and rewrite request to the front controller' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3159
			 | 
			
				3164
			 | 
			
			
				   echo '    location ^~ /.well-known/ {' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3160
			 | 
			
				3165
			 | 
			
			
				   echo '        allow all;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3161
			 | 
			
				3166
			 | 
			
			
				   echo '        rewrite ^/(.*) /index.php?q=$uri&$args last;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3162
			 | 
			
				3167
			 | 
			
			
				   echo '    }' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3163
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				
			 | 
			
				3168
			 | 
			
			
				+  echo '' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3164
			 | 
			
				3169
			 | 
			
			
				   echo '    client_max_body_size 10G; # set max upload size' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3165
			 | 
			
				3170
			 | 
			
			
				   echo '    client_body_buffer_size 128k;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3166
			 | 
			
				3171
			 | 
			
			
				   echo '    fastcgi_buffers 64 4K;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3167
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				
			 | 
			
				3172
			 | 
			
			
				+  echo '' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3168
			 | 
			
				3173
			 | 
			
			
				   echo '    rewrite ^/caldav(.*)$ /remote.php/caldav$1 redirect;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3169
			 | 
			
				3174
			 | 
			
			
				   echo '    rewrite ^/carddav(.*)$ /remote.php/carddav$1 redirect;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3170
			 | 
			
				3175
			 | 
			
			
				   echo '    rewrite ^/webdav(.*)$ /remote.php/webdav$1 redirect;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3171
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				
			 | 
			
				3176
			 | 
			
			
				+  echo '' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3172
			 | 
			
				3177
			 | 
			
			
				   echo '    index index.php;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3173
			 | 
			
				3178
			 | 
			
			
				   echo '    error_page 403 /core/templates/403.php;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3174
			 | 
			
				3179
			 | 
			
			
				   echo '    error_page 404 /core/templates/404.php;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3175
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				
			 | 
			
				3180
			 | 
			
			
				+  echo '' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3176
			 | 
			
				3181
			 | 
			
			
				   echo '    location = /robots.txt {' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3177
			 | 
			
				3182
			 | 
			
			
				   echo '        allow all;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3178
			 | 
			
				3183
			 | 
			
			
				   echo '        log_not_found off;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3179
			 | 
			
				3184
			 | 
			
			
				   echo '        access_log off;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3180
			 | 
			
				3185
			 | 
			
			
				   echo '    }' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3181
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				
			 | 
			
				3186
			 | 
			
			
				+  echo '' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3182
			 | 
			
				3187
			 | 
			
			
				   echo '    location ~ ^/(data|config|\.ht|db_structure\.xml|README) {' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3183
			 | 
			
				3188
			 | 
			
			
				   echo '        deny all;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3184
			 | 
			
				3189
			 | 
			
			
				   echo '    }' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3185
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				
			 | 
			
				3190
			 | 
			
			
				+  echo '' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3186
			 | 
			
				3191
			 | 
			
			
				   echo '    location / {' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3187
			 | 
			
				3192
			 | 
			
			
				   echo '        # The following 2 rules are only needed with webfinger' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3188
			 | 
			
				3193
			 | 
			
			
				   echo '        rewrite ^/.well-known/host-meta /public.php?service=host-meta last;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3189
			 | 
			
				3194
			 | 
			
			
				   echo '        rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json last;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3190
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				3191
			 | 
			
				3195
			 | 
			
			
				   echo '        rewrite ^/.well-known/carddav /remote.php/carddav/ redirect;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3192
			 | 
			
				3196
			 | 
			
			
				   echo '        rewrite ^/.well-known/caldav /remote.php/caldav/ redirect;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3193
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				3194
			 | 
			
				3197
			 | 
			
			
				   echo '        rewrite ^(/core/doc/[^\/]+/)$ $1/index.html;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3195
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				3196
			 | 
			
				3198
			 | 
			
			
				   echo '        try_files $uri $uri/ index.php;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3197
			 | 
			
				3199
			 | 
			
			
				   echo '    }' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3198
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				
			 | 
			
				3200
			 | 
			
			
				+  echo '' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3199
			 | 
			
				3201
			 | 
			
			
				   echo '    location ~ ^(.+?\.php)(/.*)?$ {' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3200
			 | 
			
				3202
			 | 
			
			
				   echo '        try_files $1 =404;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3201
			 | 
			
				3203
			 | 
			
			
				   echo '        fastcgi_split_path_info ^(.+\.php)(/.+)$;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -3206,7 +3208,7 @@ quit" > $INSTALL_DIR/batch.sql 
			 | 
		
	
		
			
			| 
				3206
			 | 
			
				3208
			 | 
			
			
				   echo '        fastcgi_param PATH_INFO $2;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3207
			 | 
			
				3209
			 | 
			
			
				   echo '        fastcgi_param HTTPS on;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3208
			 | 
			
				3210
			 | 
			
			
				   echo '    }' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3209
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				
			 | 
			
				3211
			 | 
			
			
				+  echo '' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3210
			 | 
			
				3212
			 | 
			
			
				   echo '    # Optional: set long EXPIRES header on static assets' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3211
			 | 
			
				3213
			 | 
			
			
				   echo '    location ~* ^.+\.(jpg|jpeg|gif|bmp|ico|png|css|js|swf)$ {' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				3212
			 | 
			
				3214
			 | 
			
			
				   echo '        expires 30d;' >> /etc/nginx/sites-available/$OWNCLOUD_DOMAIN_NAME 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -3237,15 +3239,6 @@ quit" > $INSTALL_DIR/batch.sql 
			 | 
		
	
		
			
			| 
				3237
			 | 
			
				3239
			 | 
			
			
				       echo 'WARNING: No freeDNS subdomain code given for Owncloud. It is assumed that you are using some other dynamic DNS provider.' 
			 | 
		
	
		
			
			| 
				3238
			 | 
			
				3240
			 | 
			
			
				   fi 
			 | 
		
	
		
			
			| 
				3239
			 | 
			
				3241
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				3240
			 | 
			
				
			 | 
			
			
				-  if ! grep -q "After creating an administrator account" /home/$MY_USERNAME/README; then 
			 | 
		
	
		
			
			| 
				3241
			 | 
			
				
			 | 
			
			
				-      echo '' >> /home/$MY_USERNAME/README 
			 | 
		
	
		
			
			| 
				3242
			 | 
			
				
			 | 
			
			
				-      echo '' >> /home/$MY_USERNAME/README 
			 | 
		
	
		
			
			| 
				3243
			 | 
			
				
			 | 
			
			
				-      echo 'Owncloud' >> /home/$MY_USERNAME/README 
			 | 
		
	
		
			
			| 
				3244
			 | 
			
				
			 | 
			
			
				-      echo '========' >> /home/$MY_USERNAME/README 
			 | 
		
	
		
			
			| 
				3245
			 | 
			
				
			 | 
			
			
				-      echo 'After creating an administrator account then create a user account via' >> /home/$MY_USERNAME/README 
			 | 
		
	
		
			
			| 
				3246
			 | 
			
				
			 | 
			
			
				-      echo 'the Users dropdown menu entry. The username should be "$MY_USERNAME".' >> /home/$MY_USERNAME/README 
			 | 
		
	
		
			
			| 
				3247
			 | 
			
				
			 | 
			
			
				-  fi 
			 | 
		
	
		
			
			| 
				3248
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				3249
			 | 
			
				3242
			 | 
			
			
				   echo 'install_owncloud' >> $COMPLETION_FILE 
			 | 
		
	
		
			
			| 
				3250
			 | 
			
				3243
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				3251
			 | 
			
				3244
			 | 
			
			
				   if [[ $SYSTEM_TYPE == "$VARIANT_CLOUD" ]]; then 
			 |