diff options
Diffstat (limited to 'pinyconfigs/debian/pinyconfigs.preinst')
-rwxr-xr-x | pinyconfigs/debian/pinyconfigs.preinst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pinyconfigs/debian/pinyconfigs.preinst b/pinyconfigs/debian/pinyconfigs.preinst new file mode 100755 index 0000000..e09313a --- /dev/null +++ b/pinyconfigs/debian/pinyconfigs.preinst @@ -0,0 +1,18 @@ +#!/bin/sh + +set -e + +case "$1" in + + install) + + dpkg-divert --divert /etc/apache2/envvars.default --package pinyconfigs --rename /etc/apache2/envvars + dpkg-divert --divert /etc/cgitrc.default --package pinyconfigs --rename /etc/cgitrc + dpkg-divert --divert /etc/sv/git-daemon/run.default --package pinyconfigs --rename /etc/sv/git-daemon/run + + ;; + + *) + ;; + +esac |