File: libdv-bin.preinst

package info (click to toggle)
libdv 1.0.0-12
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 3,876 kB
  • sloc: ansic: 14,669; sh: 8,725; asm: 7,250; makefile: 134
file content (15 lines) | stat: -rw-r--r-- 210 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e

case "$1" in
install|upgrade)
  if dpkg --compare-versions "$2" le-nl 1.0.0-5 ; then
    test ! -L /usr/share/doc/libdv-bin || rm /usr/share/doc/libdv-bin
  fi
  ;;
esac

#DEBHELPER#

exit 0