mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-18 21:54:20 +01:00
17
.travis.yml
Normal file
17
.travis.yml
Normal file
@@ -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
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "SSH server",
|
"name": "SSH server",
|
||||||
"version": "0.2",
|
"version": "0.3",
|
||||||
"slug": "ssh",
|
"slug": "ssh",
|
||||||
"description": "Connect to your server over SSH",
|
"description": "Connect to your server over SSH",
|
||||||
"startup": "before",
|
"startup": "before",
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ if [ ! -d "$KEYS_PATH" ]; then
|
|||||||
ssh-keygen -A
|
ssh-keygen -A
|
||||||
cp -fp /etc/ssh/ssh_host* "$KEYS_PATH/"
|
cp -fp /etc/ssh/ssh_host* "$KEYS_PATH/"
|
||||||
else
|
else
|
||||||
cp -fp "$KEYS_PATH/*" /etc/ssh/
|
cp -fp "$KEYS_PATH"/* /etc/ssh/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# start server
|
# start server
|
||||||
|
|||||||
Reference in New Issue
Block a user