diff options
author | Karel Kočí <cynerd@email.cz> | 2018-08-26 19:40:34 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-08-26 19:40:34 +0200 |
commit | eb191490294ee9700632f295e1db1d370744948a (patch) | |
tree | 72b866919d8afcc69dc7e4efe15f5cbecff50bc6 | |
parent | 408b7d005277e205f431e1b4eb256bbe836cba54 (diff) | |
download | laminar-cnf-eb191490294ee9700632f295e1db1d370744948a.tar.gz laminar-cnf-eb191490294ee9700632f295e1db1d370744948a.tar.bz2 laminar-cnf-eb191490294ee9700632f295e1db1d370744948a.zip |
turris3x: Enable upload
-rwxr-xr-x | templates/turris3x.run | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/turris3x.run b/templates/turris3x.run index 3fa1859..1d4b100 100755 --- a/templates/turris3x.run +++ b/templates/turris3x.run @@ -31,8 +31,8 @@ echo_stage "Sign" echo_stage "Deploy" ssh upload rm -rf "deploy-turris3x-$BOARD" scp -r "bin/$ARCH/packages/base" upload:deploy-turris3x-$BOARD -exit 0 # Disable deploy for now -ssh upload /bin/sh -ex <<EOF - rm -rf /var/www/repo/turris3x +ssh upload /bin/sh -e <<EOF + mkdir -p /var/www/repo/turris3x + rm -rf /var/www/repo/turris3x/$BOARD mv deploy-turris3x-$BOARD /var/www/repo/turris3x/$BOARD EOF |