head	1.3;
access;
symbols
	TIGRIS_1_1_0RC2:1.2
	TIGRIS_1_1_0RC1:1.2
	TIGRIS_1_1:1.2.0.10
	TIGRIS_1_0_8:1.2
	TIGRIS_1_0_8RC3:1.2
	TIGRIS_1_0_8RC2:1.2
	TIGRIS_1_0_8RC1:1.2
	TIGRIS_1_0_7:1.2
	TIGRIS_1_0_7RC3:1.2
	TIGRIS_1_0_7RC2:1.2
	TIGRIS_1_0_7RC1:1.2
	TIGRIS_1_0_6:1.2
	TIGRIS_1_0_6RC5:1.2
	TIGRIS_1_0_6RC4:1.2
	TIGRIS_1_0_6RC3:1.2
	TIGRIS_1_0_6RC2:1.2
	TIGRIS_1_0_6RC1:1.2
	TIGRIS_1_0_5:1.2
	TIGRIS_1_0_5RC6:1.2
	TIGRIS_1_0_5RC5:1.2
	TIGRIS_1_0_5RC4:1.2
	TIGRIS_1_0_5RC3:1.2
	TIGRIS_1_0_5RC2:1.2
	TIGRIS_1_0_5RC1:1.2
	TIGRIS_1_0_4:1.2
	TIGRIS_1_0_3:1.2
	TIGRIS_1_0_2:1.2
	TIGRIS_1_0_1:1.2
	TIGRIS_1_0:1.2.0.12
	TIGRIS_1_0_0:1.2
	TIGRIS_1_0_0_RC1:1.2.0.8
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.2
	TIGRIS_0_9_2_3:1.2
	HELM_PEER_PORT_BRANCH:1.1.1.2
	TURBINE_PEER:1.2
	TIGRIS_0_9_2_1:1.2
	TIGRIS_0_9_2:1.2.0.6
	TIGRIS_0_9_0:1.2.0.4
	TIGRIS_0_8_4:1.2.0.2
	NEWHELM:1.1.1.1
	TIGRIS_NOV_12_2000:1.1.1
	OLDHELM:1.1.0.4
	TIGRIS_NOV_11_2000:1.1
	TIGRIS_SEP_13_2000:1.1.0.2
	TIGRIS_BASELINE:1.1;
locks; strict;
comment	@# @;


1.3
date	2001.08.14.21.56.41;	author edk;	state dead;
branches;
next	1.2;

1.2
date	2000.11.12.22.57.33;	author dlr;	state Exp;
branches;
next	1.1;

1.1
date	2000.07.26.21.21.42;	author ed;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.11.12.21.17.27;	author dlr;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2001.02.21.00.35.52;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.3
log
@remove obsolete/non-functional scripts
@
text
@#!/bin/sh
###############################################################################
#
# File:         all-list-archive-mh-fix
# RCS:          $Header: /usr/local/tigris/data/helm/cvs/repository/helm/perl/scripts/all-list-archive-mh-fix.in,v 1.2 2000/11/12 22:57:33 dlr Exp $
# Description:  this transforms ezmlm archive directories into directories
#		readable by MH mail's 'scan' program. This script should
#		be run prior to other MH/ezmlm-archive scripts, e.g.
#		/usr/local/sbin/all-list-archive-mh-scan
# Author:       Niels P. Mayer
# Created:      Sun Jun 11 22:49:40 2000
# Modified:     Wed Jul  5 10:59:44 2000 (Niels Mayer) root@@h02.sny.collab.net
# Language:     Shell-script
# Package:      N/A
# Status:       Experimental (Do Not Distribute)
#
# (C) Copyright 2000, Collab.net.
#
###############################################################################

cd ~tigrisq

for i in *-*
do
    if [ -d $i ]
	then
	    cd $i
	    if [ -d "archive" ]
		then
		    cd archive
		    if [ -d "0" ]
			then
			    for j in [0-9]*
			    do
				cd  $j
				## BUGFIX/HACK: subfolders above '0' contain  archive/1-9/00
				## Make that message 100 since MH starts w/ 0.
				if [ -e 100 ]
				    then
					echo "$0: $i/archive/$j/100 already exists"
				    else
					ln -s 00 100
				    fi

				for k in 1 2 3 4 5 6 7 8 9
				do
				    if [ -e $k ]
					then
					    echo "$0: $i/archive/$j/$k already exists"
					else
					    ln -s 0$k $k
				    fi
				done
				cd  ..				
			    done
			else
			    echo "$0: warning -- $i/archive contains no subdirs!"
		    fi
		    cd ..
		else
		    echo "$0: warning -- $i/archive doesn't exist"
		fi
	    cd ~tigrisq
	fi
done

if [ ! -d ~tigrisq/Mail ]
    then
	echo "MH hasn't been setup for ~tigrisq -- please invoke following command"
	echo "	sudo -u tigrisq env HOME=__MAIL_ROOT__ /usr/lib/nmh/install-mh -auto"
	echo "  before issuing any other MH commands on ~tigrisq mail archives."
fi
@


1.2
log
@Resolved merge conflicts.
@
text
@d5 1
a5 1
# RCS:          $Header: /home/tigrisc/helm/perl/scripts/all-list-archive-mh-fix.in,v 1.1.1.1 2000/11/12 21:17:27 dlr Exp $
@


1.1
log
@add statistics generating files used on h02 / h11 currently.
@
text
@d5 1
a5 1
# RCS:          $Header: $
@


1.1.1.1
log
@Merging newhelm tree into helm, as per IZ issue #557.  Previous major version of helm is tagged TIGRIS_NOV_11_2000.
@
text
@d5 1
a5 1
# RCS:          $Header: /cvs/newhelm/perl/scripts/all-list-archive-mh-fix.in,v 1.1 2000/10/05 20:05:49 jrobbins Exp $
@


1.1.1.2
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@d5 1
a5 1
# RCS:          $Header: /cvs/helm/perl/scripts/all-list-archive-mh-fix.in,v 1.2 2000/11/12 22:57:33 dlr Exp $
@


