2 # postinst script for dma
6 .
/usr
/share
/debconf
/confmodule
14 echo "$RET" > /etc
/mailname
17 if [ -n "$RET" ]; then
18 sed -i -re 's@^[[:space:]]*(#+[[:space:]]*)?SMARTHOST([[:space:]]+.*)?$@SMARTHOST '"$RET@" /etc
/dma
/dma.conf
20 sed -i -re 's@^[[:space:]]*(#+[[:space:]]*)?SMARTHOST([[:space:]]+.*)?$@#SMARTHOST@' /etc
/dma
/dma.conf
23 db_get dma
/dbounceprog
24 if [ -n "$RET" ]; then
25 sed -i -re 's/^[[:space:]]*(#+[[:space:]]*)?DBOUNCEPROG([[:space:]]+.*)?$/DBOUNCEPROG '"$RET/" /etc
/dma
/dma.conf
27 sed -i -re 's/^[[:space:]]*(#+[[:space:]]*)?DBOUNCEPROG([[:space:]]+.*)?$/#DBOUNCEPROG/' /etc
/dma
/dma.conf
30 if dpkg
--compare-versions "$2" lt
'0.0.2009.07.17-3'; then
31 chown root
:mail /etc
/dma
/*
36 abort-upgrade|abort-remove|abort-deconfigure
)
40 echo "postinst called with unknown argument \`$1'" >&2
45 # dh_installdeb will replace this with shell code automatically
46 # generated by other debhelper scripts.