File: postrm

package info (click to toggle)
emacsen-common 1.4.22
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 116 kB
  • ctags: 30
  • sloc: perl: 194; sh: 110; lisp: 108; makefile: 80
file content (14 lines) | stat: -rw-r--r-- 207 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

if [ "$1" = purge ]
then
  if [ -e /var/lib/emacsen-common/installed-flavors ]
  then
    rm -f /var/lib/emacsen-common/installed-flavors
    rmdir /var/lib/emacsen-common
  fi
fi

exit 0