ascension

Migrate DNS zones to the GNU Name System
Log | Files | Refs | README | LICENSE

prerm (409B)


      1 #!/bin/sh
      2 set -e
      3 
      4 # Automatically added by dh_python3:
      5 if which py3clean >/dev/null 2>&1; then
      6 	py3clean -p python3-ascension 
      7 else
      8 	dpkg -L python3-ascension | perl -ne 's,/([^/]*)\.py$,/__pycache__/\1.*, or next; unlink $_ or die $! foreach glob($_)'
      9 	find /usr/lib/python3/dist-packages/ -type d -name __pycache__ -empty -print0 | xargs --null --no-run-if-empty rmdir
     10 fi
     11 
     12 # End automatically added section