File: apt-xapian-index.postrm

package info (click to toggle)
apt-xapian-index 0.56
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 436 kB
  • sloc: python: 2,959; ruby: 475; sh: 131; makefile: 31
file content (17 lines) | stat: -rwxr-xr-x 312 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" = "remove" -o "$1" = "purge" ]; then
	echo "Removing index /var/lib/apt-xapian-index..."
	rm -rf /var/cache/apt-xapian-index
	rm -rf /var/lib/apt-xapian-index
fi

if [ "$1" = "remove" -o "$1" = "purge" ]; then
	rm -f /usr/share/apt-xapian-index/plugins/*.pyc
fi

#DEBHELPER#

exit 0