Source code of /package/debian/preinst

Last modified: 2015-12-06 20:12:34

Download

#!/bin/sh
# preinst script for gwhois
set -e

# http://raphaelhertzog.com/2010/10/07/the-right-way-to-remove-an-obsolete-conffile-in-a-debian-package/
if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
    dpkg-maintscript-helper rm_conffile /etc/gwhois/pattern -- "$"
fi