Update updater.sh (#1086)

Allow curl to download file with url redirection
This commit is contained in:
Oleg Petrov 2021-04-15 05:21:24 +07:00 committed by GitHub
parent c3a3c3ab2c
commit 6281ae07bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ echo Downloading latest Version of PHPServerMonitor \($version\)
downloadfile=$(curl -s https://api.github.com/repos/phpservermon/phpservermon/releases/latest | grep "zipball" | cut -d '"' -f 4)
# download latest release
curl -so update.zip.keep $downloadfile
curl -Lso update.zip.keep $downloadfile
echo Save config.php
mv config.php config.php.keep