File: apcalc-dev.preinst

package info (click to toggle)
apcalc 2.12.1.5-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,548 kB
  • ctags: 4,129
  • sloc: ansic: 53,374; makefile: 5,589; awk: 96; sed: 33; sh: 13
file content (13 lines) | stat: -rw-r--r-- 360 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

#DEBHELPER#

# /usr/doc/apcalc-dev was a link up to apcalc-dev 2.10.3t5.46-1 but is a
# directory now. So we have to make sure to remove the link before installing
# the new package, because otherwise, dpkg will follow the link and our files
# will end up in the wrong directory.
[ -L /usr/doc/apcalc-dev ] && rm /usr/doc/apcalc-dev

exit 0