Skip to content

Instantly share code, notes, and snippets.

@mitchelldmiller
Last active January 25, 2019 18:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mitchelldmiller/752f3a01f25e6036cd7c5842eda2d6c3 to your computer and use it in GitHub Desktop.
Save mitchelldmiller/752f3a01f25e6036cd7c5842eda2d6c3 to your computer and use it in GitHub Desktop.
Delete WordPress files before calmPress update
#! /bin/bash
rm -f index.php
rm -f license.txt
rm -f readme.html
rm -f wp-activate.php
rm -rf wp-admin
rm -f wp-blog-header.php
rm -f wp-comments-post.php
rm -f wp-config-sample.php
rm -f wp-cron.php
rm -rf wp-includes
rm -f wp-load.php
rm -f wp-login.php
rm -f wp-settings.php
rm -f wp-signup.php
rm -f xmlrpc.php
@markkap
Copy link

markkap commented Dec 25, 2018

Hmmmm this should not be needed to be done like that. Are you upgrading from the admin (need to have WP_DEBUG set to true to see that upgrade path) or manually downloading the zip file and extracting from it?

@mitchelldmiller
Copy link
Author

Did not need script, updating today from release archive /src directory.
Got error on calmPress directory name. Added issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment