Join the community today
Register Now

Master Branch update inc/ menu option 22

Discussion in 'Centmin Mod Github Commits' started by eva2000, Apr 16, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    6:19 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    update inc/ menu option 22

    update wordpress uninstall script with confirmation prompt message before actual deletion to allow end user to cancel the deletion run before it happens as suggested at

    for existing users who installed wordpress via menu option 22, you can manually update your uninstall scripts with this update by editing your /root/tools/wp_uninstall_${vhostname}.sh where ${vhostname} is your name and adding after #/bin/bash line the following code.

    Code (Text):
    echo "-------------------------------------------------------------------------"
    echo "Do you want to uninstall/delete WP install for ${vhostname}"
    echo "This will delete all data from /home/nginx/domains/${vhostname}"
    echo "including any non-wordpress data installed at /home/nginx/domains/${vhostname}"
    echo "-------------------------------------------------------------------------"
    read -ep "Uninstall WP Install For ${vhostname} [y/n]: " uninstall
    if [[ "$uninstall" != [yY] ]]; then

    Continue reading...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.