File: phpX-memcache.postinst

package info (click to toggle)
php-memcache 3.0.4-4%2Bsqueeze1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 132 kB
  • ctags: 4
  • sloc: sh: 38; makefile: 29
file content (14 lines) | stat: -rw-r--r-- 278 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh -e
set -e

if test -e /etc/phpX/conf.d/memcache.ini; then
    sed s/\;extension/extension/g -i /etc/phpX/conf.d/memcache.ini
fi

if test "$1" = "configure"; then
    ucf /usr/share/phpX-memcache/memcache.ini-dist /etc/phpX/conf.d/memcache.ini
fi

#DEBHELPER#

exit 0