a mysterious cat has 18 half-lifes.
#!/bin/bash PN=${0##*/} export CVSROOT=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/tikiwiki" BASE=`pwd` LOGDIR=${BASE}/logs tikiversions="1.10:tikiwiki 1.9:BRANCH-1-9" cvsmode=${1:-update} cvsclean() { find . -type d -name "CVS" -exec rm -rf {} > /dev/null 2>&1 \; find . -type f -exec md5sum {} \; > ${LOGDIR}/md5sums.${jav%%*:} } bckold() { local jav local iav printf "%s\n" "Backup old Data ..." [ ! -d old ] && mkdir old for iav in ${tikiversions} ; do jav=${iav%%:*} if [ -d ${jav} ]; then if [ "${removedirs}" = "yes" ]; then tar cf - ${jav} | ( cd old ; tar xf - ) rm -rf ${jav} mkdir ${jav} fi else [ "${removedirs}" = "no" ] && cvsmode=co mkdir ${BASE}/${jav} fi done } cvslogin() { cvs login rc=$? return $rc } checkout() { local a=${1:-`pwd`} local jav printf "%s\n" "Checkout" for jav in ${tikiversions} ; do printf "%s\n" "Checkout ${jav%%:*}" cd ${BASE}/${jav%%:*} echo ${jav##*:} | grep -i BRANCH >/dev/null 2>&1 if [ $? -eq 0 ]; then cvsmode="${cvsmode} -r" fi cvs -z3 ${cvsmode} ${jav##*:} tikiwiki > ${LOGDIR}/logfile.${jav%%:*} [ $? -eq 0 ] && cvsclean done } #main() [ "${cvsmode}" = "update" ] && removedirs=no || removedirs=yes bckold cvslogin checkout ${BASE}
1) |
19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting |
2) |
Tiki birthday |
3) |
17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting |
4) |
21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting |
5) |
19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting |