Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 17 lines (13 sloc) 0.377 kb
ec015f6 add debian-postinst.sh
conrad authored
1 #!/bin/sh
2
3 PATH="/bin:/usr/bin:/sbin:/usr/sbin"
4
5 if dpkg -l apache2 >/dev/null 2>&1; then
6 DAEMON="apache2"
7 cp apache/fastphoto.conf /etc/apache2/conf.d/
8 elif dpkg -l apache >/dev/null 2>&1; then
9 DAEMON="apache"
10 cp apache/fastphoto.conf /etc/apache/conf.d
11 else
12 echo 1>&2 "Error: Neither apache2 or apache are installed"
13 exit 1
14 fi
15
16 invoke-rc.d $DAEMON reload || true
Something went wrong with that request. Please try again.