diff --git a/package/dpkg/deb/update_bins.sh b/package/dpkg/deb/update_bins.sh old mode 100644 new mode 100755 index 9549709..35b88d7 --- a/package/dpkg/deb/update_bins.sh +++ b/package/dpkg/deb/update_bins.sh @@ -18,7 +18,10 @@ do dl_uri=$(grep -E "https.*lune-.*linux-$arch.zip" <<< $API_RESP | cut -d '"' -f4) - wget $dl_uri -O $dir/usr/bin/lune + wget $dl_uri -O lune-$arch.zip + + unzip "lune-$arch.zip" -d $dir/usr/bin/ + rm -rf "lune-$arch" done find . -maxdepth 1 -mindepth 1 -type d -exec dpkg --build {} \;