Unverified Commit a30b04a6 authored by Helmo's avatar Helmo
Browse files

Add personal update sources

parent 9fd415e4
Pipeline #11442 passed with stage
in 10 seconds
......@@ -88,7 +88,7 @@ echo "\n".str_repeat('-', 80)."\n";
echo "\n\n>> Update \n\n";
echo "Please choose the update method. For production systems select 'stable'. \nWARNING: The update from GIT is only for development systems and may break your current setup. Do not use the GIT version on servers that host any live websites!\nNote: On Multiserver systems, enable maintenance mode and update your master server first. Then update all slave servers, and disable maintenance mode when all servers are updated.\n\n";
$method = simple_query('Select update method', array('stable', 'nightly', 'git-develop'), 'stable');
$method = simple_query('Select update method', array('stable', 'nightly', 'git-develop', 'stable-helmo', 'testing-helmo'), 'stable-helmo');
if($method == 'stable') {
$new_version = @file_get_contents('https://www.ispconfig.org/downloads/ispconfig3_version.txt') or die('Unable to retrieve version file.');
......@@ -27,6 +27,10 @@ elif [[ "$SOURCE" == "nightly" ]] ; then
elif [[ "$SOURCE" == "git-develop" ]] ; then
elif [[ "$SOURCE" == "testing-helmo" ]] ; then
elif [[ "$SOURCE" == "stable-helmo" ]] ; then
echo "Please choose an installation source (stable, nightly, git-develop)"
exit 1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment