summaryrefslogtreecommitdiff
path: root/pinyconfigs/debian/pinyconfigs.postinst
blob: 919f205eb76701c613ffbd5512669da54b68fdc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

set -e

case "$1" in

  configure)

    if [ "$2" = "" ]; then
      # If this is a fresh install, enable the piny site in apache.
      a2ensite piny || true
    fi

    ;;

  *)
    ;;

esac