Custombuild only gets mainline versions updates

JohnnyBravo

Verified User
Joined
Aug 24, 2018
Messages
37
Hi,

Every time I execute ./build update custombuild downloads the newest mainline versions of nginx, but I need the latest stable version.
And off course the latest version is now installed (1.14.2)
This still happens after I emptied my custom_versions.txt
Does anyone knows what to change of fix so custombuild will only look for stable updates?
Any help will be appreciated!

Regards,


Hindrik
 
Hello Hindrik,

Put the desired version of NGINX into custom_versions.txt


Related:
https://help.directadmin.com/item.php?id=565
 
Hi zEitEr,

Thanks for your reply.
I did that and it works fine, but now I've to manually check on the website of Nginx if there is a new stable version. Because custombuild is only looking for mainline or both mainline and stable releases. I want custombuild to only check the stable ones. Is that possible?
 
You might try a script written by me for Poralix here:

https://github.com/poralix/directadmin-utils/blob/master/nginx/build_nginx

Code:
# download a script-file
cd /usr/local/directadmin/custombuild/
wget https://raw.githubusercontent.com/poralix/directadmin-utils/master/nginx/build_nginx -O ./build_nginx
chmod 755 ./build_nginx

# see its usage
./build_nginx

install a cron-task to update custom versions file with the latest stable version:

Code:
./build_nginx set-cron --stable

You can still use custombuild native script to install the NGINX version (./build nginx), as soon as the nginx stable version is detected and a corresponding tar.gz file is downloaded by our custom build_nginx script.
 
Back
Top