Join the community today
Register Now

CentOS 7 Beta Branch add tools/cmupdate.sh for .08 beta

Discussion in 'Centmin Mod Github Commits' started by eva2000, Dec 27, 2014.

  1. eva2000

    eva2000 Administrator Staff Member

    53,554
    12,135
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,678
    Local Time:
    11:47 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    add tools/cmupdate.sh for .08 beta

    Continue reading...

     
  2. Andy

    Andy Active Member

    540
    89
    28
    Aug 6, 2014
    Ratings:
    +132
    Local Time:
    8:47 PM
    Is this to update centminmod instead of running the sequence of commands to download and overwrite from github?
     
  3. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    9:47 AM
    Mainline
    10.2
    Same question :D
    With the looks of the code, seems it is.
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,554
    12,135
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,678
    Local Time:
    11:47 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Yes it's Centmin Mod .08 beta and higher from @sepulchre suggestion in the other thread :)
     
  5. Andy

    Andy Active Member

    540
    89
    28
    Aug 6, 2014
    Ratings:
    +132
    Local Time:
    8:47 PM
    Is this built into the centmin menu yet?
     
  6. eva2000

    eva2000 Administrator Staff Member

    53,554
    12,135
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,678
    Local Time:
    11:47 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    It's a standalone file for now as haven't tested whether or not a bash script (centmin.sh) can delete itself heh
     
  7. sepulchre

    sepulchre Member

    167
    22
    18
    Dec 22, 2014
    Ratings:
    +28
    Local Time:
    3:47 AM
    Wait, if this is not build into the menu yet, how to use this standalone file?
    Sorry, if my question is too stupid.
    Maybe by using this code?
    And thank you for considering my request.

    Code:
    + branchname=123.08centos7beta01
    + rm -rf /usr/local/src/${branchname}.zip
    + rm -rf /usr/local/src/centminmod-${branchname}
    + wget -cnv --no-check-certificate -O /usr/local/src/${branchname}.zip https://github.com/centminmod/centminmod/archive/${branchname}.zip
    + cd /usr/local/src
    + unzip ${branchname}.zip
    + cd centminmod-${branchname}
    + chmod +x centmin.sh
    
     
  8. pamamolf

    pamamolf Premium Member Premium Member

    4,070
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    4:47 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Maybe something like this? :)

    Code:
    cd /usr/local/src/centminmod-123.08centos7beta01/tools
    chmod +x cmupdate.sh
    ./cmupdate.sh
     
    Last edited: Dec 28, 2014
  9. eva2000

    eva2000 Administrator Staff Member

    53,554
    12,135
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,678
    Local Time:
    11:47 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Note, this is only for 123.08centos7beta01 branch not .07 stable ! See list of branches at Branches · centminmod/centminmod · GitHub

    That's the best way or you can just download the raw file from github's branch at https://raw.githubusercontent.com/centminmod/centminmod/123.08centos7beta01/tools/cmupdate.sh

    Code:
    cd /usr/local/src/centminmod-123.08centos7beta01/
    mkdir tools
    cd tools
    wget https://raw.githubusercontent.com/centminmod/centminmod/123.08centos7beta01/tools/cmupdate.sh
    chmod +x cmupdate.sh
    ./cmupdate.sh
    
     
  10. Andy

    Andy Active Member

    540
    89
    28
    Aug 6, 2014
    Ratings:
    +132
    Local Time:
    8:47 PM
    When will we expect to see this integrated to the main centmin menu? I can test it for you ;)
     
  11. eva2000

    eva2000 Administrator Staff Member

    53,554
    12,135
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,678
    Local Time:
    11:47 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    see 6th post above.. not right now as not sure a script can be programmed to delete itself but keeping running the instance it's invoked from

    Most likely will need to be a separate script from centmin.sh