]> git.donarmstrong.com Git - debhelper.git/blob - autoscripts/postrm-gconf
r1931: * dh_installxfonts: In postrm, run the deregistraton code even on upgrade,
[debhelper.git] / autoscripts / postrm-gconf
1 if [ "$1" = purge ]; then
2         OLD_DIR=/etc/gconf/schemas
3         SCHEMA_FILES="#SCHEMAS#"
4         if [ -d $OLD_DIR ]; then
5                 for SCHEMA in $SCHEMA_FILES; do
6                         rm -f $OLD_DIR/$SCHEMA
7                 done
8                 rmdir -p --ignore-fail-on-non-empty $OLD_DIR
9         fi
10 fi