File: casacore-data-lines.prerm

package info (click to toggle)
casacore-data-lines 0%2Bgit2016.11.26-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 72 kB
  • sloc: python: 61; sh: 31; makefile: 4
file content (20 lines) | stat: -rw-r--r-- 391 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

set -e

case "$1" in
    remove|deconfigure)
	if [ -L /var/lib/casacore/data/ephemerides/Lines ] ; then
	    rm -f /var/lib/casacore/data/ephemerides/Lines
	    rmdir -p --ignore-fail-on-non-empty /var/lib/casacore/data/ephemerides/
	fi
	;;
    failed-upgrade|upgrade)
	;;
    *)
        echo "prerm called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

#DEBHELPER#