backport to buster
[hcoop/debian/openafs.git] / debian / openafs-dbserver.preinst
1 #!/bin/sh
2
3 set -e
4
5 # In version 1.6.3-1, we switched from symlinking the doc directory to
6 # openafs-client to having our own doc directory so that we could weaken the
7 # versioned dependency. dpkg doesn't remove symlinks on upgrade, so we need
8 # to remove the symlink in preinst to avoid overwriting the old files.
9 #
10 # This cleanup can be removed after the jessie release.
11 test ! -L /usr/share/doc/openafs-dbserver \
12 || rm /usr/share/doc/openafs-dbserver
13
14 #DEBHELPER#