mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-01-08 11:49:10 +00:00
fix(scripts): binary updater for dpkg
This commit is contained in:
parent
9d0360739c
commit
e4e22f26a2
1 changed files with 4 additions and 1 deletions
5
package/dpkg/deb/update_bins.sh
Normal file → Executable file
5
package/dpkg/deb/update_bins.sh
Normal file → Executable 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 {} \;
|
||||
|
|
Loading…
Reference in a new issue