aboutsummaryrefslogtreecommitdiff
path: root/modules/install_conf
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2005-08-16 14:02:15 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2005-08-16 14:02:15 +0000
commit35daff80ad5e762ab31d83256344b3a0b6e6f2b7 (patch)
treecde6f70f0e9d682ee0eec32672243d1d965127a7 /modules/install_conf
parent23624ea6f78ec8acc167a2491c00998907fc76b1 (diff)
downloadpam-35daff80ad5e762ab31d83256344b3a0b6e6f2b7.tar.gz
pam-35daff80ad5e762ab31d83256344b3a0b6e6f2b7.tar.bz2
pam-35daff80ad5e762ab31d83256344b3a0b6e6f2b7.zip
Relevant BUGIDs: none
Purpose of commit: new feature Commit summary: --------------- 2. round of automake/autoconf/libtool changes
Diffstat (limited to 'modules/install_conf')
-rwxr-xr-xmodules/install_conf49
1 files changed, 0 insertions, 49 deletions
diff --git a/modules/install_conf b/modules/install_conf
deleted file mode 100755
index 80f6be29..00000000
--- a/modules/install_conf
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/bash
-
-FAKEROOT=$1
-CONFD=$1$2
-CONFILE=$1$3
-MODULE=$4
-CONF=$5
-
-IGNORE_AGE=./.ignore_age
-QUIET_INSTALL=../../.quiet_install
-
-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 $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