Remove forced loading of Store/MySQL.pm
[MogileFS-Server.git] / debian / mogilefsd.postinst
blob96699c070fe54103ac0a6f36969bd6d12668c004
1 #!/bin/sh
3 PKG=mogilefsd
4 DEFAULTFILE=/etc/default/$PKG
6 . /usr/share/debconf/confmodule || exit 0
8 #DEBHELPER#
10 set -e
12 case "$1" in
13 configure)
15 if [ ! -e /etc/mogilefs/mogilefsd.conf ]
16 then
17 mkdir -p /etc/mogilefs
18 cp /usr/share/doc/mogilefsd/examples/mogilefsd.conf /etc/mogilefs/mogilefsd.conf
23 abort-upgrade|abort-remove|abort-deconfigure)
28 echo "postinst called with unknown argument \`$1'" >&2
29 exit 1
31 esac
32 db_stop