Skip to content

Instantly share code, notes, and snippets.

@DILL44 DILL44/drupal update
Last active Oct 13, 2015

Embed
What would you like to do?
update for drupal on shared server
wget http://ftp.drupal.org/files/projects/drupal-7.18.zip &&
unzip drupal-7.18.zip &&
rm -R drupal-7.18/sites/ &&
cp -R sites/ drupal-7.18/ &&
mv drupal-7.18/ ../ &&
rm drupal-7.18.zip &&
mkdir ../backup &&
mv * ../backup/ &&
mv .htaccess ../backup/ &&
rm -R ../drupal-7.18/.git*&&
mv ../drupal-7.18/* .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.