From e4e22f26a25b7d8f93990f3ff60c763449d4a5c1 Mon Sep 17 00:00:00 2001 From: Compey Date: Thu, 10 Aug 2023 07:38:45 +0530 Subject: [PATCH] fix(scripts): binary updater for dpkg --- package/dpkg/deb/update_bins.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) mode change 100644 => 100755 package/dpkg/deb/update_bins.sh 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 {} \;