|
@@ -235,7 +235,7 @@ function restore_local_htmly {
|
235
|
235
|
rm -rf /var/www/${HTMLY_DOMAIN_NAME}/htdocs
|
236
|
236
|
fi
|
237
|
237
|
temp_source_dir=$(find ${temp_restore_dir} -name htdocs | sed 's/\.//g')
|
238
|
|
- cp -r ${temp_restore_dir}${temp_source_dir} /var/www/${HTMLY_DOMAIN_NAME}/
|
|
238
|
+ cp -r ${temp_source_dir} /var/www/${HTMLY_DOMAIN_NAME}/
|
239
|
239
|
if [ ! "$?" = "0" ]; then
|
240
|
240
|
set_user_permissions
|
241
|
241
|
backup_unmount_drive
|
|
@@ -295,7 +295,7 @@ function restore_remote_htmly {
|
295
|
295
|
rm -rf /var/www/${HTMLY_DOMAIN_NAME}/htdocs
|
296
|
296
|
fi
|
297
|
297
|
temp_source_dir=$(find ${temp_restore_dir} -name htdocs | sed 's/\.//g')
|
298
|
|
- cp -r ${temp_restore_dir}${temp_source_dir} /var/www/${HTMLY_DOMAIN_NAME}/
|
|
298
|
+ cp -r ${temp_source_dir} /var/www/${HTMLY_DOMAIN_NAME}/
|
299
|
299
|
if [ ! "$?" = "0" ]; then
|
300
|
300
|
exit 593
|
301
|
301
|
fi
|