Browse Source

Added Skiping MySQL import during update

bugfixes
gau1991 10 years ago
parent
commit
72ea6de5d0
  1. 2
      src/modules/site/migrate/ee_mod_migrate_setup.sh

2
src/modules/site/migrate/ee_mod_migrate_setup.sh

@ -11,6 +11,7 @@ function ee_mod_migrate_setup()
if [ "$EE_SITE_CREATE_OPTION" = "--wp" ] || [ "$EE_SITE_CREATE_OPTION" = "--wpsubdir" ] || [ "$EE_SITE_CREATE_OPTION" = "--wpsubdomain" ]; then
mv /var/www/$EE_DOMAIN/htdocs/wp-config.php /var/www/$EE_DOMAIN/
if [ "$EE_MYSQL_PATH" != "" ]; then
ee_lib_echo "Setting up Database, please wait..."
ee_mod_setup_database
@ -25,6 +26,7 @@ function ee_mod_migrate_setup()
pv $EE_MYSQL_PATH | mysql $EE_DB_NAME \
|| ee_lib_error "Unable to import database, exit status = " $?
fi
fi
# Fix webroot permission
chown -R www-data:www-data /var/www/$EE_DOMAIN/ \

Loading…
Cancel
Save