aboutsummaryrefslogtreecommitdiff
path: root/debian/prerm.libivy-java
blob: 8927c6da12c3c2fd77c82358018b815c69144a2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
 
set -e
 
package=ivy-java
docs="ivy-java"

# FHS transition
if [ -L /usr/doc/$package ]; then
   rm -f /usr/doc/$package
fi             

if [ "$1" = remove -o "$1" = upgrade ]; then
    if command -v install-docs >/dev/null 2>&1; then
        for doc in $docs
        do
            install-docs -r $doc
        done
    fi
fi