mirror of
https://github.com/YunoHost-Apps/peertube_ynh.git
synced 2024-09-03 19:56:29 +02:00
fix extension
This commit is contained in:
parent
2fe4abc7ae
commit
5d99a720f1
1 changed files with 2 additions and 2 deletions
4
.github/workflows/updater.sh
vendored
4
.github/workflows/updater.sh
vendored
|
@ -89,8 +89,8 @@ checksum=$(sha256sum "$tempdir/$filename" | head -c 64)
|
|||
rm -rf $tempdir
|
||||
|
||||
# Get extension
|
||||
if [[ $filename == *.tar.gz ]]; then
|
||||
extension=tar.gz
|
||||
if [[ $filename == *.tar.xz ]]; then
|
||||
extension=tar.xz
|
||||
else
|
||||
extension=${filename##*.}
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue