File: python-axiom.postrm

package info (click to toggle)
python-axiom 0.7.5-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,336 kB
  • ctags: 2,893
  • sloc: python: 12,583; sh: 33; makefile: 14
file content (17 lines) | stat: -rw-r--r-- 332 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh

set -e

case "$1" in
    remove|purge)
        find /usr/lib/python[23].*/*-packages/axiom/plugins \
            -name dropin.cache 2>/dev/null | xargs -r rm -f
        for d in /usr/lib/python[23].*/*-packages/axiom/plugins; do
            rmdir $d 2>/dev/null || true
        done
        ;;
esac

#DEBHELPER#

exit 0