File: gr-dab.prerm

package info (click to toggle)
gr-dab 0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,072 kB
  • sloc: python: 14,249; cpp: 6,069; ansic: 361; makefile: 25; sh: 24
file content (14 lines) | stat: -rwxr-xr-x 199 bytes parent folder | download | duplicates (2)
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 gr-dab 
else
  dpkg -L gr-dab | grep \.py$ | while read file
  do  
    rm -f "${file}"[co] >/dev/null
    done
fi

#DEBHELPER#