Discover Centmin Mod today
Register Now

Is it okay to move Centminmod to ~/centminmod ?

Discussion in 'System Administration' started by jeffwidman, Feb 18, 2015.

  1. jeffwidman

    jeffwidman Active Member

    152
    27
    28
    Dec 3, 2014
    Ratings:
    +51
    Local Time:
    1:31 PM
    Since I always login as the same user on one of my VPS's, I'd rathe have ~/centminmod as a git repo that I sync with the master branch every so often.


    Does centmin.sh expect/require that it be located in /usr/local/src/ ?
     
  2. eva2000

    eva2000 Administrator Staff Member

    50,472
    11,661
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,083
    Local Time:
    6:31 AM
    Nginx 1.25.x
    MariaDB 10.x
    Should be able to move only thing AFAIK that links to it is the alias installed at initial install time for the 'centmin' shortcut as outlined at Upgrade - 07 stable to 08 beta | Centmin Mod Community

    for Centmin Mod .0 7 alias shortcut for .07's install location at /usr/local/src/centmin-v1.2.3mod located in /root/.bashrc. and .08 beta has it's own shortcut

    Code:
    alias centmin='cd /usr/local/src/centmin-v1.2.3mod; bash centmin.sh'
    alias cmdir='pushd /usr/local/src/centmin-v1.2.3mod'
    
    of course you can just replacing existing directory with github one as outlined at Upgrade - Working with git command line for updating Centmin Mod local copies | Centmin Mod Community