summaryrefslogtreecommitdiff
path: root/modules/pam_time/install_conf
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2000-11-19 23:31:22 +0000
committerAndrew G. Morgan <morgan@kernel.org>2000-11-19 23:31:22 +0000
commit47575925596c2af2a78c009fcdd14de72fc82d3e (patch)
tree2c353e5c8dc7a2b019b1d30853957021af631a42 /modules/pam_time/install_conf
parent8c7e950878780872acf82e924f58369c907ddbcb (diff)
Relevant BUGIDs: task 15788, bugs 108297, 117476, 117474
Purpose of commit: merge in the autoconf stuff Commit summary: --------------- this is a merge of the 0-72 autoconf branch to something more up to date. This commit will be followed by merging this Linux-PAM-0-73pre-autoconf branch to the main trunk.
Diffstat (limited to 'modules/pam_time/install_conf')
-rwxr-xr-xmodules/pam_time/install_conf46
1 files changed, 0 insertions, 46 deletions
diff --git a/modules/pam_time/install_conf b/modules/pam_time/install_conf
deleted file mode 100755
index 051d8b70..00000000
--- a/modules/pam_time/install_conf
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/bash
-
-CONFILE=$FAKEROOT"$CONFILE"
-IGNORE_AGE=./.ignore_age
-QUIET_INSTALL=../../.quiet_install
-CONF=./time.conf
-MODULE=pam_time
-
-echo
-
-if [ -f "$QUIET_INSTALL" ]; then
- if [ ! -f "$CONFILE" ]; then
- yes="y"
- else
- yes="skip"
- fi
-elif [ -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 $MODULE configuration file already exists ($CONFILE)"
- echo "Do you wish to copy the $CONF file in this distribution"
- echo "to $CONFILE ? (y/n) [skip] "
- read yes
- else
- yes="y"
- fi
-else
- yes="skip"
-fi
-
-if [ "$yes" = "y" ]; then
- mkdir -p $FAKEROOT$CONFD
- echo " copying $CONF to $CONFILE"
- cp $CONF $CONFILE
-else
- echo " Skipping $CONF installation"
- if [ "$yes" = "n" ]; then
- touch "$IGNORE_AGE"
- fi
-fi
-
-echo
-
-exit 0