Want to subscribe to topics you're interested in?
Become a Member

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

    29,044
    6,590
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,785
    Local Time:
    11:42 PM
    Nginx 1.13.x
    MariaDB 5.5
    add tools/cmupdate.sh for .08 beta

    Continue reading...
     
  2. Andy

    Andy Active Member

    281
    42
    28
    Aug 6, 2014
    Ratings:
    +49
    Local Time:
    9:42 AM
    Is this to update centminmod instead of running the sequence of commands to download and overwrite from github?
     
  3. RoldanLT

    RoldanLT Well-Known Member

    3,830
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    9:42 PM
    1.11
    10.2
    Same question :D
    With the looks of the code, seems it is.
     
  4. eva2000

    eva2000 Administrator Staff Member

    29,044
    6,590
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,785
    Local Time:
    11:42 PM
    Nginx 1.13.x
    MariaDB 5.5
    Yes it's Centmin Mod .08 beta and higher from @sepulchre suggestion in the other thread :)
     
    • Like Like x 1
  5. Andy

    Andy Active Member

    281
    42
    28
    Aug 6, 2014
    Ratings:
    +49
    Local Time:
    9:42 AM
    Is this built into the centmin menu yet?
     
  6. eva2000

    eva2000 Administrator Staff Member

    29,044
    6,590
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,785
    Local Time:
    11:42 PM
    Nginx 1.13.x
    MariaDB 5.5
    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

    90
    15
    8
    Dec 22, 2014
    Ratings:
    +15
    Local Time:
    3:42 PM
    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 Well-Known Member

    2,537
    231
    63
    May 31, 2014
    Ratings:
    +394
    Local Time:
    4:42 PM
    Nginx-1.13.x
    MariaDB 10.1.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

    29,044
    6,590
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,785
    Local Time:
    11:42 PM
    Nginx 1.13.x
    MariaDB 5.5
    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
    
     
    • Like Like x 1
  10. Andy

    Andy Active Member

    281
    42
    28
    Aug 6, 2014
    Ratings:
    +49
    Local Time:
    9:42 AM
    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

    29,044
    6,590
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,785
    Local Time:
    11:42 PM
    Nginx 1.13.x
    MariaDB 5.5
    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