diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..117b3f5 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +language: bash + +# Use container-based infrastructure for quicker build start-up +sudo: false + +addons: + apt: + sources: + - debian-sid # Grab shellcheck from the Debian repo (o_O) + packages: + - shellcheck + +script: + - bash -c 'shopt -s globstar; shellcheck **/*.sh' + +matrix: + fast_finish: true diff --git a/ssh/config.json b/ssh/config.json index 57bf6e3..5aa056c 100644 --- a/ssh/config.json +++ b/ssh/config.json @@ -1,6 +1,6 @@ { "name": "SSH server", - "version": "0.2", + "version": "0.3", "slug": "ssh", "description": "Connect to your server over SSH", "startup": "before", diff --git a/ssh/run.sh b/ssh/run.sh index b495391..7debbb1 100644 --- a/ssh/run.sh +++ b/ssh/run.sh @@ -23,7 +23,7 @@ if [ ! -d "$KEYS_PATH" ]; then ssh-keygen -A cp -fp /etc/ssh/ssh_host* "$KEYS_PATH/" else - cp -fp "$KEYS_PATH/*" /etc/ssh/ + cp -fp "$KEYS_PATH"/* /etc/ssh/ fi # start server