fix(scripts): binary updater for dpkg

This commit is contained in:
Erica Marigold 2023-08-10 07:38:45 +05:30
parent 9d0360739c
commit e4e22f26a2
No known key found for this signature in database
GPG key ID: 23CD97ABBBCC5ED2

5
package/dpkg/deb/update_bins.sh Normal file → Executable file
View file

@ -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 {} \;