From a950950f1bbb6b96026109270f5203a40f93f3db Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Fri, 3 Mar 2023 17:13:49 -0800 Subject: [PATCH] snap: Fix dart-sass-embedded installation Closes #10783 --- snap/snapcraft.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 1bce8036e..8d23f89b6 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -152,9 +152,9 @@ parts: if [[ -n $arch ]]; then url=$(curl -s https://api.github.com/repos/sass/dart-sass-embedded/releases/latest | awk -F\" "/browser_download_url.*-linux-${arch}.tar.gz/{print \$(NF-1)}") curl -LO --retry-connrefused --retry 10 "$url" - tar xf sass_embedded-*-linux-$arch.tar.gz sass_embedded/dart-sass-embedded + tar xf sass_embedded-*-linux-$arch.tar.gz install -d $SNAPCRAFT_PART_INSTALL/bin - cp -av sass_embedded/dart-sass-embedded $SNAPCRAFT_PART_INSTALL/bin/ + cp -av sass_embedded/* $SNAPCRAFT_PART_INSTALL/bin/ fi node: