dev-scripts/install/install-local.sh

34 lines
519 B
Bash
Raw Normal View History

2020-09-03 13:46:19 +00:00
#!/bin/sh
# source all files in ./config/
for _file in ./config/local/* ; do
. "$_file"
done
# check we have ssh access
[ -z "$ssh" ] && echo "Error: no ssh configuration specified" && exit 5
echo "Updating ..":
ssh -T $ssh << EOSSH
apt-get update && apt-get upgrade
EOSSH
echo "Update complete"
exit
# source user script
. ./scripts/install-user.sh
# source base script
# . ./scripts/install-base.sh
# source php script?
# source database script?
# source web server script?
# source application script?