head	1.1;
branch	1.1.1;
access;
symbols
	Linux-PAM-0-66:1.1.1.1
	PRE_REL_0_66:1.1.1.1
	OPEN_SOURCE:1.1.1;
locks; strict;
comment	@# @;


1.1
date	98.07.12.05.17.14;	author morgan;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.07.12.05.17.14;	author morgan;	state Exp;
branches;
next	;


desc
@@



1.1
log
@Initial revision
@
text
@#!/bin/bash

CONFILE="$FAKEROOT"$CONFIGED/pam.conf
IGNORE_AGE=./.ignore_age
CONF=./pam.conf

echo

if [ -f "$IGNORE_AGE" ]; then
	echo "you don't want to be bothered with the age of your $CONFILE file"
	yes="n"
elif [ ! -f "$CONFILE" ] || [ "$CONF" -nt "$CONFILE" ]; then
	if [ -f "$CONFILE" ]; then
		echo "\
An older Linux-PAM configuration file already exists ($CONFILE)"
		WRITE=overwrite
	fi
	echo -n "\
Do you wish to copy the $CONF file in this distribution
to $CONFILE ? (y/n) [n] "
	read yes
else
	yes=n
fi

if [ "$yes" = "y" ]; then
	echo "  copying $CONF to $CONFILE"
	cp $CONF $CONFILE
else
	touch "$IGNORE_AGE"
	echo "  Skipping $CONF installation"
fi

echo

exit 0
@


1.1.1.1
log
@Linux PAM sources pre-0.66
@
text
@@
