1 2 3 4 5 6 7 8 9 10
#!/bin/sh tar ckzf slx-admin.tar.gz api.php index.php apis fonts inc lang modules-available Mustache script style install.php install-all || exit 1 if [ "$1" = "--deploy" ]; then scp slx-admin.tar.gz root@132.230.4.17:install/slx-admin.tar.gz else echo "Not deploying" fi