File: postrm

package info (click to toggle)
lynx 2.8.5-2sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 11,780 kB
  • ctags: 10,300
  • sloc: ansic: 118,519; sh: 3,245; makefile: 869; perl: 583
file content (15 lines) | stat: -rw-r--r-- 228 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e

if [ -x /usr/bin/update-menus ]; then 
    update-menus
fi

if [ -x /usr/sbin/update-mime ]; then
    update-mime
fi

if [ "$1" != "upgrade" ]; then
  update-alternatives --remove lynx /usr/bin/lynx.stable
fi