summaryrefslogtreecommitdiffstats
path: root/Reaktor/commands/nag
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2014-07-15 12:42:25 +0200
committertv <tv@shackspace.de>2014-07-15 12:42:25 +0200
commit0bead921a24d9856c74ee8c1f296c2a45e634647 (patch)
treeee08dd6fa9aa8c7b3550c52b2dabb00ba057d0c1 /Reaktor/commands/nag
parent0a39b3ecd80965002044cf7ba9d0a99c94ad1261 (diff)
Reaktor nag: git pull|grep -v 'Already up-to-date'
Diffstat (limited to 'Reaktor/commands/nag')
-rwxr-xr-xReaktor/commands/nag8
1 files changed, 4 insertions, 4 deletions
diff --git a/Reaktor/commands/nag b/Reaktor/commands/nag
index e5380fc3..2b33d5e1 100755
--- a/Reaktor/commands/nag
+++ b/Reaktor/commands/nag
@@ -9,15 +9,15 @@ fi
trap 'rm -f nag.hosts.ls nag.services.ls nag.patch' EXIT INT QUIT
if ! test -d nag.hosts; then
- git clone "$hosts_repo" nag.hosts | grep -v 'Alreay up-to-date.'
+ git clone "$hosts_repo" nag.hosts
else
- (cd nag.hosts && git pull)
+ (cd nag.hosts && git pull) | grep -v 'Already up-to-date.'
fi
if ! test -d nag.services; then
- git clone "$services_repo" nag.services | grep -v 'Already up-to-date.'
+ git clone "$services_repo" nag.services
else
- (cd nag.services && git pull)
+ (cd nag.services && git pull) | grep -v 'Already up-to-date.'
fi