aboutsummaryrefslogtreecommitdiffhomepage
path: root/snap
diff options
context:
space:
mode:
authorJoe Mooring <[email protected]>2023-03-03 17:13:49 -0800
committerBjørn Erik Pedersen <[email protected]>2023-03-04 10:15:03 +0100
commita950950f1bbb6b96026109270f5203a40f93f3db (patch)
treebd5c051b2773c746f72802452337aa61fe3338a0 /snap
parent36ce3a4a9d3933772085991c8636915ffd5cb3af (diff)
downloadhugo-a950950f1bbb6b96026109270f5203a40f93f3db.tar.gz
hugo-a950950f1bbb6b96026109270f5203a40f93f3db.zip
snap: Fix dart-sass-embedded installation
Closes #10783
Diffstat (limited to 'snap')
-rw-r--r--snap/snapcraft.yaml4
1 files 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: