Skip to content

Commit 7d6dfc5

Browse files
author
Till Brehm
committed
Fixed #4227 ispconfig_update.sh script finish with errors
1 parent 39981b7 commit 7d6dfc5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

server/scripts/ispconfig_update.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function simple_query($query, $answers, $default)
9494
$new_version = @file_get_contents('http://www.ispconfig.org/downloads/ispconfig3_version.txt') or die('Unable to retrieve version file.');
9595
$new_version = trim($new_version);
9696
if(version_compare($new_version, ISPC_APP_VERSION, '>')) {
97-
passthru('/usr/local/ispconfig/server/scripts/update_from_tgz.sh');
97+
passthru('/usr/local/ispconfig/server/scripts/update_stable.sh');
9898
exit;
9999
} else {
100100
echo "There are no updates available for ISPConfig ".ISPC_APP_VERSION."\n";
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
2+
{
33
{
44
umask 0077 \
55
&& tmpdir=`mktemp -dt "$(basename $0).XXXXXXXXXX"` \
@@ -28,3 +28,4 @@ else
2828
fi
2929

3030
exit 0
31+
}

0 commit comments

Comments
 (0)