try very hard to find git

This commit is contained in:
Leif Johansson 2016-04-20 16:44:14 +02:00 committed by Patrik Lundin
parent 7f0c457a33
commit 378dfe04fa
Signed by: patlu
GPG key ID: A0A812BA2249F294

View file

@ -1,6 +1,7 @@
#!/bin/sh
set -e
#set -e
# not all breakage is un-recoverable...
cmd_hostname="$1"
if test -z "$cmd_hostname"; then
@ -20,9 +21,8 @@ if test -z "$cmd_tags"; then
exit 3
fi
set -x
apt-get -y update && apt-get -y upgrade
apt-get -y update
apt-get -y upgrade
for pkg in rsync git git-core wget; do
apt-get -y install $pkg
done