From 6412da147ea0e1bf6ddecd03b0440c3dcef479f3 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Tue, 28 Feb 2023 19:24:37 +0100 Subject: [PATCH] Fix auto-updater --- .github/workflows/updater.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/updater.sh b/.github/workflows/updater.sh index 8e97316..7185409 100755 --- a/.github/workflows/updater.sh +++ b/.github/workflows/updater.sh @@ -79,11 +79,11 @@ checksum=$(sha256sum "$tempdir/$filename" | head -c 64) rm -rf $tempdir # Get extension -if [[ $filename == *.tar.gz ]]; then +#if [[ $filename == *.tar.gz ]]; then extension=tar.gz -else -extension=${filename##*.} -fi +#else +#extension=${filename##*.} +#fi # Rewrite source file cat < conf/$src.src @@ -92,7 +92,6 @@ SOURCE_SUM=$checksum SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=$extension SOURCE_IN_SUBDIR=true -SOURCE_FILENAME= EOT echo "... conf/$src.src updated"