File: libpuzzle-php.preinst

package info (click to toggle)
libpuzzle 0.11-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,092 kB
  • sloc: sh: 9,723; ansic: 1,811; makefile: 970; php: 269; sql: 148
file content (17 lines) | stat: -rw-r--r-- 331 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

#
# preinst script for libpuzzle-php
#

set -e

if which dpkg-maintscript-helper >/dev/null && dpkg-maintscript-helper supports mv_conffile ; then
    dpkg-maintscript-helper mv_conffile \
        /etc/php5/conf.d/libpuzzle.ini /etc/php5/mods-available/libpuzzle.ini \
        0.9-4.1+b1 -- "$@"
fi

#DEBHELPER#

exit 0