File: docbook-simple.preinst

package info (click to toggle)
docbook-simple 1.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 584 kB
  • sloc: xml: 172; makefile: 101; sh: 5
file content (15 lines) | stat: -rw-r--r-- 284 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh
# preinst script for docbook-simple
#
# see: dh_installdeb(1)

set -e

# workaround the lack of good solution to migrate a directory to a
# compat symlink
if [ -d /usr/share/sgml/docbook/custom/simple ]
then
    rm -rf /usr/share/sgml/docbook/custom/simple
fi

#DEBHELPER#