diff options
Diffstat (limited to 'pinyconfigs/debian/pinyconfigs.postinst')
-rwxr-xr-x | pinyconfigs/debian/pinyconfigs.postinst | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pinyconfigs/debian/pinyconfigs.postinst b/pinyconfigs/debian/pinyconfigs.postinst new file mode 100755 index 0000000..919f205 --- /dev/null +++ b/pinyconfigs/debian/pinyconfigs.postinst @@ -0,0 +1,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 |