diff --git a/src/shopify-cli/devcontainer-feature.json b/src/shopify-cli/devcontainer-feature.json index 39a2fc467..42d567e36 100644 --- a/src/shopify-cli/devcontainer-feature.json +++ b/src/shopify-cli/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "shopify-cli", - "version": "1.0.2", + "version": "1.0.3", "name": "Shopify CLI (via npm)", "documentationURL": "http://github.com/devcontainers-extra/features/tree/main/src/shopify-cli", "description": "Shopify CLI is a command-line interface tool that helps you build Shopify apps and themes. It quickly generates Shopify apps, themes, and custom storefronts. You can also use it to automate many common development tasks.", diff --git a/src/shopify-cli/install.sh b/src/shopify-cli/install.sh index 479416719..5c7bbf766 100755 --- a/src/shopify-cli/install.sh +++ b/src/shopify-cli/install.sh @@ -10,6 +10,15 @@ set -e # of the script ensure_nanolayer nanolayer_location "v0.5.5" +if [ -x "/usr/bin/apt-get" ] ; then + $nanolayer_location \ + install \ + apt-get \ + "xdg-utils" +else + echo "Distro not supported" + exit 1 +fi $nanolayer_location \ install \