1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/baikal_ynh.git synced 2024-09-03 18:16:11 +02:00

[fix] Download sources instead of local copy

This commit is contained in:
Jérôme Lebleu 2016-05-07 01:41:10 +02:00
parent b754b9a9f8
commit c7fa84b860

View file

@ -27,8 +27,7 @@ extract_baikal() {
local DESTDIR=$1
local bk_archive="${DESTDIR}/baikal.zip"
# wget -q -O "$bk_archive" "$BAIKAL_SOURCE_URL" \
cp /home/admin/baikal.zip "$bk_archive" \
wget -q -O "$bk_archive" "$BAIKAL_SOURCE_URL" \
|| ynh_die "Unable to download Baikal archive"
echo "$BAIKAL_SOURCE_SHA256 $bk_archive" | sha256sum -c >/dev/null \
|| ynh_die "Invalid checksum of downloaded archive"