1
0
Fork 0
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:
yalh76 2022-03-09 23:25:17 +01:00
parent 2fe4abc7ae
commit 5d99a720f1

View file

@ -89,8 +89,8 @@ checksum=$(sha256sum "$tempdir/$filename" | head -c 64)
rm -rf $tempdir rm -rf $tempdir
# Get extension # Get extension
if [[ $filename == *.tar.gz ]]; then if [[ $filename == *.tar.xz ]]; then
extension=tar.gz extension=tar.xz
else else
extension=${filename##*.} extension=${filename##*.}
fi fi