File: php5.1.sapi.packages

package info (click to toggle)
yada 0.54
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 1,132 kB
  • ctags: 115
  • sloc: perl: 3,905; xml: 1,156; makefile: 12
file content (15 lines) | stat: -rw-r--r-- 495 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $Id: /local/php5.1/debian/sapi.packages 420 2005-08-11T12:59:51.193747Z dexter  $
#
# Macros:
#   sapi=%{sapi}
#
Install: sh
 yada install -dir /etc/php%{php_pkg_version}/%{sapi}/conf.d
 yada install -conf -ucf -into /etc/php%{php_pkg_version}/%{sapi} -as php.ini php.ini-dist
Postrm: sh
 if [ "$1" = "purge" ]; then
     rm -rf /etc/php%{php_pkg_version}/%{sapi}
     if [ -d /etc/php%{php_pkg_version} ]; then
         rmdir --ignore-fail-on-non-empty /etc/php%{php_pkg_version}
     fi
 fi