Learn about Centmin Mod LEMP Stack today
Register Now

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:
    +161
    Local Time:
    9:42 AM
    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
     
    • Like Like x 1
  2. Sunka

    Sunka Active Member

    888
    230
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +376
    Local Time:
    3:42 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    Usually you need to rerun centmin because of upgraded files. That is why.
     
    • Like Like x 1
    • Agree Agree x 1
  3. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +161
    Local Time:
    9:42 AM
    latest
    latest
    Ahh right. Forgot about that.
     
  4. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,758
    Local Time:
    11:42 AM
    Nginx 1.13.x
    MariaDB 5.5
  5. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +161
    Local Time:
    9:42 AM
    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

    28,957
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,758
    Local Time:
    11:42 AM
    Nginx 1.13.x
    MariaDB 5.5