Commit 7d6dfc5f authored by Till Brehm's avatar Till Brehm
Browse files

Fixed #4227 ispconfig_update.sh script finish with errors

parent 39981b72
......@@ -94,7 +94,7 @@ if($method == 'stable') {
$new_version = @file_get_contents('http://www.ispconfig.org/downloads/ispconfig3_version.txt') or die('Unable to retrieve version file.');
$new_version = trim($new_version);
if(version_compare($new_version, ISPC_APP_VERSION, '>')) {
passthru('/usr/local/ispconfig/server/scripts/update_from_tgz.sh');
passthru('/usr/local/ispconfig/server/scripts/update_stable.sh');
exit;
} else {
echo "There are no updates available for ISPConfig ".ISPC_APP_VERSION."\n";
......
#!/bin/bash
{
{
umask 0077 \
&& tmpdir=`mktemp -dt "$(basename $0).XXXXXXXXXX"` \
......@@ -28,3 +28,4 @@ else
fi
exit 0
}
Markdown is supported
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