Want more timely Centmin Mod News Updates?
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 Well-Known Member

    2,818
    251
    83
    May 31, 2014
    Ratings:
    +445
    Local Time:
    6:42 AM
    Nginx-1.13.x
    MariaDB 10.1.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

    30,890
    6,907
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,401
    Local Time:
    2:42 PM
    Nginx 1.13.x
    MariaDB 5.5
    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 Well-Known Member

    2,818
    251
    83
    May 31, 2014
    Ratings:
    +445
    Local Time:
    6:42 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Maybe for the rest then?
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,890
    6,907
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,401
    Local Time:
    2:42 PM
    Nginx 1.13.x
    MariaDB 5.5
    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}"
     
    • Like Like x 1