File: postrm

package info (click to toggle)
pstotext 1.8-4
  • links: PTS
  • area: main
  • in suites: potato
  • size: 240 kB
  • ctags: 270
  • sloc: ansic: 1,712; makefile: 69; sh: 64
file content (19 lines) | stat: -rw-r--r-- 258 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh
set -e

case "$1" in
    upgrade)
        ;;
    remove|purge)
	if [ -x /usr/sbin/update-mime ]; then
	  update-mime
	  exit 0
	fi
	if [ -x /usr/sbin/install-mime ]; then
	  install-mime --remove --package=pstotext
	fi 
	;;
    *)
	;;
esac
exit 0