File: prerm-doc

package info (click to toggle)
aleph 0.4.1-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,300 kB
  • ctags: 2,124
  • sloc: cpp: 10,585; makefile: 991; sh: 291; lisp: 186
file content (14 lines) | stat: -rw-r--r-- 253 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e

# Doc-base support
if command -v install-docs >/dev/null 2>&1
then
  install-docs -r aleph
fi

# FSSTD -> FHS transition
pkg=aleph-doc
if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$pkg ]; then
  rm -f /usr/doc/$pkg
fi