[PyWebMail-Checkins] webmail/www/cron lockfixperm.sh,1.5,1.6
Status: Beta
Brought to you by:
dubnerm
From: Michael D. <du...@us...> - 2008-03-02 17:38:42
|
Update of /cvsroot/pywebmail/webmail/www/cron In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1689 Modified Files: lockfixperm.sh Log Message: surge-log is ok... :-( Index: lockfixperm.sh =================================================================== RCS file: /cvsroot/pywebmail/webmail/www/cron/lockfixperm.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** lockfixperm.sh 28 Apr 2007 07:26:53 -0000 1.5 --- lockfixperm.sh 2 Mar 2008 17:38:44 -0000 1.6 *************** *** 26,33 **** --url "${fixperm_url}" >"$temp_file" ! if [ -n "`sed -e '1 {/^=== fixperm\.cgi$/d}' \ -e '2 {/^=== Done\.$/d}' \ -e '3 {/^Done (200) 26 at [0-9]*\.[0-9]* seconds\.$/d}' \ ! "$temp_file"`" ] ; then cat "$temp_file" fi --- 26,48 ---- --url "${fixperm_url}" >"$temp_file" ! want_output=true ! if [ -n "$(sed -e '1 {/^=== fixperm\.cgi$/d}' \ -e '2 {/^=== Done\.$/d}' \ -e '3 {/^Done (200) 26 at [0-9]*\.[0-9]* seconds\.$/d}' \ ! "$temp_file")" ] ; then ! want_output=false ! elif [ -n "$(sed -e '1 {/^=== fixperm\.cgi$/d}' \ ! -e '2 {/^+ ls -laFd \/tmp\/persistent\/pywebmail\/moinmoin\/wiki\/data\/cache\/surgeprotect\/surge-log$/d}' \ ! -e '3 {/^-rw------- 1 nfsnobody 83093 [0-9]* [A-Z][a-z][a-z] [0-9*] *[0-9]*:[0-9]* \/tmp\/persistent\/pywebmail\/moinmoin\/wiki\/data\/cache\/surgeprotect\/surge-log$/d}' \ ! -e '4 {/^+ chmod 666 \/tmp\/persistent\/pywebmail\/moinmoin\/wiki\/data\/cache\/surgeprotect\/surge-log$/d}' \ ! -e '2 {/^+ ls -laFd \/tmp\/persistent\/pywebmail\/moinmoin\/wiki\/data\/cache\/surgeprotect\/surge-log$/d}' \ ! -e '3 {/^-rw-rw-rw- 1 nfsnobody 83093 [0-9]* [A-Z][a-z][a-z] [0-9*] *[0-9]*:[0-9]* \/tmp\/persistent\/pywebmail\/moinmoin\/wiki\/data\/cache\/surgeprotect\/surge-log$/d}' \ ! -e '7 {/^=== Done\.$/d}' \ ! -e '8 {/^Done (200) 522 at [0-9]*\.[0-9]* seconds\.$/d}' \ ! "$temp_file")" ] ; then ! want_output=false ! fi ! ! if $want_output ; then cat "$temp_file" fi |