File: openafs-dbserver.preinst

package info (click to toggle)
openafs 1.8.14-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 42,972 kB
  • sloc: ansic: 455,934; xml: 66,858; perl: 11,967; makefile: 10,038; sh: 7,955; objc: 6,354; java: 5,638; cpp: 2,268; asm: 1,214; yacc: 441; tcl: 249; lex: 201; csh: 85
file content (14 lines) | stat: -rwxr-xr-x 472 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

# In version 1.6.3-1, we switched from symlinking the doc directory to
# openafs-client to having our own doc directory so that we could weaken the
# versioned dependency.  dpkg doesn't remove symlinks on upgrade, so we need
# to remove the symlink in preinst to avoid overwriting the old files.
#
# This cleanup can be removed after the jessie release.
test ! -L /usr/share/doc/openafs-dbserver \
    || rm /usr/share/doc/openafs-dbserver

#DEBHELPER#