File: hoogle.postrm

package info (click to toggle)
haskell-hoogle 5.0.17.3%2Bdfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 496 kB
  • sloc: haskell: 2,890; ansic: 110; sh: 33; xml: 20; makefile: 3
file content (28 lines) | stat: -rw-r--r-- 922 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
## ----------------------------------------------------------------------
## debian/postrm : postremoval script for hoogle
## ----------------------------------------------------------------------

## ----------------------------------------------------------------------
set -e

## ----------------------------------------------------------------------
if [ "$1" = "purge" ]
then

    ## ------------------------------------------------------------------
    ## remove /var/lib/hoogle
    [ -d /var/lib/hoogle/databases ] && rm -rf /var/lib/hoogle/databases

fi

## ----------------------------------------------------------------------
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

## ----------------------------------------------------------------------
exit 0

## ----------------------------------------------------------------------