mirror of
https://github.com/Relintai/scons_gd.git
synced 2025-02-10 16:40:14 +01:00
13 lines
230 B
Bash
13 lines
230 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
NAME=scons
|
|
|
|
dpkg --listfiles $NAME |
|
|
awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
|
|
xargs rm -f >&2
|
|
|
|
if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/scons ]; then
|
|
rm -f /usr/doc/scons
|
|
fi
|