Welcome to Centmin Mod Community
Become a Member

Centminmod menu 23

Discussion in 'Feature Requests & Suggestions' started by dorobo, Sep 30, 2016.

  1. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +162
    Local Time:
    12:27 PM
    latest
    latest
    In Centminmod menu 23 - Update Centmin Mod Code Base

    Code (Text):
    --------------------------------------------------------
            Centmin Mod Updater Sub-Menu
    --------------------------------------------------------
    1). Setup Centmin Mod Github Environment
    2). Update Centmin Mod Current Branch
    3). Update Centmin Mod Newer Branch
    4). Exit
    --------------------------------------------------------
    Enter option [ 1 - 4 ] 4
    --------------------------------------------------------

    Is it possible to have another choice to return to the main menu? What if you don't want to exit yet and want to return to the main menu?

    Instead of typing 4 and then ./centmin.sh again

     
  2. Sunka

    Sunka Well-Known Member

    1,150
    323
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +521
    Local Time:
    5:27 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    Usually you need to rerun centmin because of upgraded files. That is why.
     
  3. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +162
    Local Time:
    12:27 PM
    latest
    latest
    Ahh right. Forgot about that.
     
  4. eva2000

    eva2000 Administrator Staff Member

    49,764
    11,447
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,789
    Local Time:
    2:27 PM
    Nginx 1.21.x
    MariaDB 10.x
  5. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +162
    Local Time:
    12:27 PM
    latest
    latest
    I noticed that now we don't need to exit. It does it by itself. But the notice to exit is still there.

    Code (Text):
    --------------------------------------------------------
            Centmin Mod Updater Sub-Menu
    --------------------------------------------------------
    1). Setup Centmin Mod Github Environment
    2). Update Centmin Mod Current Branch
    3). Update Centmin Mod Newer Branch
    4). Exit
    --------------------------------------------------------
    Enter option [ 1 - 4 ] 2
    --------------------------------------------------------
    
    Updating Current Centmin Mod code branch via git
            cd /usr/local/src/centminmod
            git stash
            git pull
            chmod +x centmin.sh
    No local changes to save
    Updating 708c501..ff25ae5
    Fast-forward
     addons/acmetool.sh | 26 +++++++++++++-------------
     1 file changed, 13 insertions(+), 13 deletions(-)
    
    ##################### IMPORTANT #####################
     To complete update exit centmin.sh by continually
     exiting each submenu option until you are back at
     cmd prompt and re-run command to change into directory:
    ##################### IMPORTANT #####################
     run:
    
      cd /usr/local/src/centminmod
    
     before invoking centmin.sh again
    ##################### IMPORTANT #####################
    
    [centminmod]#
    
    
     
  6. eva2000

    eva2000 Administrator Staff Member

    49,764
    11,447
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,789
    Local Time:
    2:27 PM
    Nginx 1.21.x
    MariaDB 10.x