File: postrm

package info (click to toggle)
aptlinex 0.91-1
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 372 kB
  • ctags: 16
  • sloc: sh: 692; makefile: 75
file content (17 lines) | stat: -rw-r--r-- 274 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
set -e

if [ "$1" = purge ]; then
	OLD_DIR=/etc/gconf/schemas
	SCHEMA_FILES="aptlinex.schemas "
	if [ -d $OLD_DIR ]; then
		for SCHEMA in $SCHEMA_FILES; do
			rm -f $OLD_DIR/$SCHEMA
		done
		rmdir -p --ignore-fail-on-non-empty $OLD_DIR
	fi
fi

#DEBHELPER#

exit 0