diff --git a/bin/deardesi.js b/bin/deardesi.js index 9975787..b38a940 100755 --- a/bin/deardesi.js +++ b/bin/deardesi.js @@ -68,7 +68,7 @@ function init() { // Desi.registerRenderer( 'js' - , require('desirae/lib/render-core').DesiraeRenderCss + , require('desirae/lib/render-core').DesiraeRenderJs , { themes: true, assets: true } ); Desi.registerRenderer( diff --git a/setup.sh b/setup.sh index 0260e78..7a5f6e9 100644 --- a/setup.sh +++ b/setup.sh @@ -1,9 +1,12 @@ #!/bin/bash -if [ -n "" ]; then +if [ -n "$(which curl)" ]; then CMD_CURL="curl -fsSL" elif [ -n "$(which wget)" ]; then CMD_CURL="wget -nv --quiet --no-verbose -O -" +else + echo "Couldn't find 'curl' or 'wget' (that's weird), could not continue." + exit 1 fi echo ""