From 0af45db40a809524fe0b3f7f38d5185717ff8758 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 8 May 2009 19:18:47 +0000 Subject: remove function headers git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@392 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- zshfunc/upgrade-debian-hosts | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'zshfunc/upgrade-debian-hosts') diff --git a/zshfunc/upgrade-debian-hosts b/zshfunc/upgrade-debian-hosts index b288b53..5e44588 100644 --- a/zshfunc/upgrade-debian-hosts +++ b/zshfunc/upgrade-debian-hosts @@ -1,15 +1,13 @@ ## vim:ft=zsh:foldmethod=marker -upgrade-debian-hosts() { - cd - for i in $DEBHOSTS; do - mkdir hosts/$i 2>/dev/null || continue; - echo $i; - preexec $i; - ssh $i -t ' - sudo apt-get update && - sudo apt-get dist-upgrade && - sudo apt-get clean - '; - done -} +cd +for i in $DEBHOSTS; do + mkdir hosts/$i 2>/dev/null || continue; + echo $i; + preexec $i; + ssh $i -t ' + sudo apt-get update && + sudo apt-get dist-upgrade && + sudo apt-get clean + '; +done -- cgit v1.2.3