Skip to content

Commit a19dcf4

Browse files
committed
Complete commit f10a196 adding prerm script
1 parent 68091d9 commit a19dcf4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

debian/tor2web.prerm

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/sh
2+
set -e
3+
4+
#DEBHELPER#
5+
6+
if which pyclean >/dev/null 2>&1; then
7+
pyclean -p tor2web
8+
else
9+
dpkg -L to2web | grep \.py$ | while read file
10+
do
11+
rm -f "${file}"[co] >/dev/null
12+
done
13+
fi

0 commit comments

Comments
 (0)