File: python-meep-openmpi.prerm

package info (click to toggle)
meep-openmpi 1.7.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 25,828 kB
  • sloc: cpp: 27,370; python: 10,574; lisp: 1,213; makefile: 437; sh: 28
file content (14 lines) | stat: -rwxr-xr-x 236 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e

if which pyclean >/dev/null 2>&1; then
  pyclean -p $DPKG_MAINTSCRIPT_PACKAGE
else
  dpkg -L $DPKG_MAINTSCRIPT_PACKAGE | grep \.py$ | while read file
  do  
    rm -f "${file}"[co] >/dev/null
    done
fi

#DEBHELPER#