repo.or.cz
/
scons.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Annotated CHANGES/RELEASE with issue these changes fix
[scons.git]
/
packaging
/
debian
/
prerm
blob
62531a3e8ff98c11bfea587172196a0801b71ef5
1
#!/bin/sh
2
set -e
3
4
NAME
=
scons
5
6
dpkg
--listfiles
$NAME
|
7
awk
'
$0
~/\.py$/ {print
$0
"c
\n
"
$0
"o"}'
|
8
xargs rm
-f
>&
2
9
10
if
[
\
(
"
$1
"
=
"upgrade"
-o
"
$1
"
=
"remove"
\
)
-a -L
/
usr
/
do
c
/
scons
];
then
11
rm
-f
/
usr
/
do
c
/
scons
12
fi