File: python3-meep-mpi-default.prerm

package info (click to toggle)
meep-mpi-default 1.29.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 79,148 kB
  • sloc: cpp: 32,541; python: 31,061; lisp: 1,225; makefile: 516; sh: 249; ansic: 131; javascript: 5
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#