summaryrefslogtreecommitdiffstats
path: root/dilos/tdebase/debian/prune-nonfree
blob: 4fa832d5c05644180e065eab339288c31964ab86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh -e

# Removes non-free files from the source tree. Must be done before
# creating the orig.tar.gz.

TOPLEVEL="$1"

if [ "$TOPLEVEL" = "" ]; then
	echo "Please provide the toplevel directory as the argument."
	exit 1
else
	rm -f $TOPLEVEL/kcontrol/energy/pics/energybig.png
	rm -f $TOPLEVEL/kcontrol/energy/pics/lo-energy.png
	rm -f $TOPLEVEL/kcontrol/pics/cr128-app-energy_star.png
	rm -f $TOPLEVEL/kcontrol/pics/cr16-app-energy_star.png
	rm -f $TOPLEVEL/kcontrol/pics/cr32-app-energy_star.png
	rm -f $TOPLEVEL/kcontrol/pics/cr48-app-energy_star.png
	rm -f $TOPLEVEL/kcontrol/pics/cr64-app-energy_star.png
fi

exit 0