Installer script is broken #585

Closed
opened 2024-03-17 22:20:41 +00:00 by decentral1se · 2 comments
Owner

@knoflook got cycles to fix this?

I had this diff:

diff --git a/scripts/installer/installer b/scripts/installer/installer
index b4c5f78..99b2b44 100755
--- a/scripts/installer/installer
+++ b/scripts/installer/installer
@@ -53,7 +53,12 @@ function install_abra_release {
       ARCH="armv6"
   elif [[ $ARCH =~ "armv7l" ]]; then
       ARCH="armv7"
+  elif [[ $ARCH =~ "i386" ]]; then
+      ARCH="386"
+  elif [[ $ARCH =~ "x86_64" ]]; then
+      ARCH="amd64"
   fi
+
   PLATFORM=$(uname -s | tr '[:upper:]' '[:lower:]')_$ARCH
   FILENAME="abra_"$ABRA_VERSION"_"$PLATFORM""
   sed_command_rel='s/.*"assets":\[\{[^]]*"name":"'$FILENAME'"[^}]*"browser_download_url":"([^"]*)".*\].*/\1/p'

Due to cea56dddde

I think the other problem is: 575f9905f1/scripts/installer/installer (L59-L60) don't work anymore...

@knoflook got cycles to fix this? I had this diff: ```diff diff --git a/scripts/installer/installer b/scripts/installer/installer index b4c5f78..99b2b44 100755 --- a/scripts/installer/installer +++ b/scripts/installer/installer @@ -53,7 +53,12 @@ function install_abra_release { ARCH="armv6" elif [[ $ARCH =~ "armv7l" ]]; then ARCH="armv7" + elif [[ $ARCH =~ "i386" ]]; then + ARCH="386" + elif [[ $ARCH =~ "x86_64" ]]; then + ARCH="amd64" fi + PLATFORM=$(uname -s | tr '[:upper:]' '[:lower:]')_$ARCH FILENAME="abra_"$ABRA_VERSION"_"$PLATFORM"" sed_command_rel='s/.*"assets":\[\{[^]]*"name":"'$FILENAME'"[^}]*"browser_download_url":"([^"]*)".*\].*/\1/p' ``` Due to https://git.coopcloud.tech/coop-cloud/abra/commit/cea56dddde49c4e4456d7b469c99ee9ffdc26ae9 I think the other problem is: https://git.coopcloud.tech/coop-cloud/abra/src/commit/575f9905f1e26359bcd3ac2bc1a01e77062ca4a2/scripts/installer/installer#L59-L60 don't work anymore...
decentral1se added the
bug
label 2024-03-17 22:20:41 +00:00
decentral1se pinned this 2024-03-25 22:21:01 +00:00
Owner

i'm looking at the installer problem and as far as I can see the issue is that the installer script doesn't handle the switch from single-binary release to .tar.gz

taking a look now

> i'm looking at the installer problem and as far as I can see the issue is that the installer script doesn't handle the switch from single-binary release to .tar.gz > taking a look now
Owner

Hope iz fixed with 72c20e0039181a4add20aa89dc04420a5203f1f3

Hope iz fixed with 72c20e0039181a4add20aa89dc04420a5203f1f3
decentral1se unpinned this 2024-03-27 05:28:30 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/organising#585
No description provided.