[go: up one dir, main page]

File: postrm

package info (click to toggle)
svgalib 1%3A1.4.3-7
  • links: PTS
  • area: main
  • in suites: woody
  • size: 4,572 kB
  • ctags: 9,256
  • sloc: ansic: 59,532; makefile: 1,337; asm: 630; sh: 162; perl: 54; pascal: 49
file content (17 lines) | stat: -rw-r--r-- 231 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 test "$1" == purge -a -d /etc/vga; then
  echo "Attempting to remove /etc/vga, errors are normal ..."
  rm /etc/vga/*.bak
  rmdir /etc/vga
fi

case "$1" in
    remove|purge)
	ldconfig;;
    *)
	;;
esac
exit 0