Get the most out of your Centmin Mod LEMP stack
Become a Member

Prompt for new download link than re run Centmimod

Discussion in 'Feature Requests & Suggestions' started by pamamolf, Oct 12, 2014.

  1. pamamolf

    pamamolf Premium Member Premium Member

    4,077
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    2:59 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Hi
    It will be great if we have the option when Centminmod can't locate a download link for a software like nginx mariadb csf and the rest softwares to prompt and ask the user for the new changed download link instead of restarting the Centminmod installation :)

    What do you think?

    It will save a lot of time to go back and edit the file and rerun installation....

    I am sure that George can do some magics for it :)

    Thanks

     
  2. eva2000

    eva2000 Administrator Staff Member

    54,368
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:59 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    AFAIK, Nginx and MariaDB only have one default official download url location for official source and YUM repo file. There isn't an alternate url link the end user can input.
     
  3. pamamolf

    pamamolf Premium Member Premium Member

    4,077
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    2:59 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Maybe for the rest then?
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,368
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:59 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    some links in /inc/downloadlinks.inc already have a *LOCAL variable for automatic alternate download urls :)

    i.e.

    Code:
    PHPEXT_IMAGICKLINKFILE="imagick-${IMAGICKPHP_VER}.tgz"
    PHPEXT_IMAGICKLINK="http://pecl.php.net/get/${PHPEXT_IMAGICKLINKFILE}"
    PHPEXT_IMAGICKLINKLOCAL="http://centminmod.com/centminmodparts/imagick/${PHPEXT_IMAGICKLINKFILE}"
    
    PHPEXT_MEMCACHELINKFILE="memcache-${MEMCACHE_VERSION}.tgz"
    PHPEXT_MEMCACHELINK="http://pecl.php.net/get/${PHPEXT_MEMCACHELINKFILE}"
    PHPEXT_MEMCACHELINKLOCAL="http://centminmod.com/centminmodparts/memcached/${PHPEXT_MEMCACHELINKFILE}"
    
    PHPEXT_MEMCACHEDLINKFILE="memcached-${MEMCACHEDPHP_VER}.tgz"
    PHPEXT_MEMCACHEDLINK="http://pecl.php.net/get/${PHPEXT_MEMCACHEDLINKFILE}"
    PHPEXT_MEMCACHEDLINKLOCAL="http://centminmod.com/centminmodparts/memcached/${PHPEXT_MEMCACHEDLINKFILE}"
    
    PHPEXT_LIBMEMCACHEDLINKFILE="libmemcached-${LIBMEMCACHED_VER}.tar.gz"
    PHPEXT_LIBMEMCACHEDLINK="https://launchpad.net/libmemcached/1.0/${LIBMEMCACHED_VER}/+download/${PHPEXT_LIBMEMCACHEDLINKFILE}"
    PHPEXT_LIBMEMCACHEDLINKLOCAL="http://centminmod.com/centminmodparts/memcached/${PHPEXT_LIBMEMCACHEDLINKFILE}"