Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make sure to remove links before downloading sm-json sm-mustache

  • Loading branch information...
commit 60937afcd4a3236f6ab2ddb55fb3ba0247bc7087 1 parent bc05b4e
@mpapis mpapis authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  core/install/shell/functions
View
2  core/install/shell/functions
@@ -248,6 +248,7 @@ install_sm_mustache()
if ! file is executable "${install_path}/bin/sm-mustache"
then
+ file remove "${install_path}/bin/sm-mustache"
__sm.log.step "Downloading sm-mustache."
_url="https://smf.sh/mustache/$(get_platform)/sm-mustache" || return $?
curl -s ${_url} -o "${install_path}/bin/sm-mustache"
@@ -270,6 +271,7 @@ install_sm_json()
if ! file is executable "${install_path}/bin/sm-json"
then
+ file remove "${install_path}/bin/sm-json"
__sm.log.step "Downloading sm-json"
_url="https://smf.sh/json/$(get_platform)/sm-json" || return $?
curl -s ${_url} -o "${install_path}/bin/sm-json"
Please sign in to comment.
Something went wrong with that request. Please try again.