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:
parent
b754b9a9f8
commit
c7fa84b860
1 changed files with 1 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue