]> git.pld-linux.org Git - packages/php.git/commitdiff
- unused
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 16 Apr 2006 00:31:21 +0000 (00:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-module-install -> 1.9

php-module-install [deleted file]

diff --git a/php-module-install b/php-module-install
deleted file mode 100644 (file)
index ccaa660..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/sh
-
-VERSION="$0 V 0.3 (c) 2001 Artur Frysiak, (c) 2005 Elan Ruusamäe"
-COMMAND=usage
-VERBOSE=""
-MODNAME=""
-INIFILE=""
-
-install()
-{
-       if [ -f ${INIFILE} ] && ! grep -q "^extension[[:space:]]*=[[:space:]]*${MODNAME}.so" ${INIFILE}; then
-               echo "activating module '${MODNAME}.so' in ${INIFILE}" 1>&2
-               echo "extension=${MODNAME}.so" >> ${INIFILE}
-       fi
-}
-
-deinstall()
-{
-       if [ -f ${INIFILE} ] && grep -q "^extension[[:space:]]*=[[:space:]]*${MODNAME}.so" ${INIFILE}; then
-               sed -i -e "/^extension[[:space:]]*=[[:space:]]*${MODNAME}.so/d" ${INIFILE}
-       fi
-}
-
-usage()
-{
-       echo $VERSION
-       echo "Usage:"
-       echo " $0 install MODNAME INIFILE"
-       echo " $0 remove  MODNAME INIFILE"
-}
-
-if [ "$#" = 3 ]; then
-       MODNAME="$2"
-       INIFILE="$3"
-
-       if [ "$1" = "install" ]; then
-               install
-       else
-               if [ "$1" = "remove" ]; then
-                       deinstall
-               else
-                       usage
-               fi
-       fi
-else
-       usage
-       exit 1
-fi
-
-exit 0
This page took 0.063421 seconds and 4 git commands to generate.