summaryrefslogtreecommitdiffstats
path: root/dilos/tdebase/debian/prune-nonfree
diff options
context:
space:
mode:
authorDenis Kozadaev <denis@dilos.org>2020-01-30 22:13:12 +0300
committerSlávek Banko <slavek.banko@axis.cz>2020-03-02 23:40:36 +0100
commit54987baa2946868ae04e93090d4da5693afaa3b1 (patch)
tree6a989c0fb1d22986af268dcd240803f52a60b433 /dilos/tdebase/debian/prune-nonfree
parent5593d90a563fc02f6baf3316388f13b9b8957cd0 (diff)
downloadtde-packaging-54987baa2946868ae04e93090d4da5693afaa3b1.tar.gz
tde-packaging-54987baa2946868ae04e93090d4da5693afaa3b1.zip
DilOS: tdebase build pack
Signed-off-by: Denis Kozadaev <denis@dilos.org> (cherry picked from commit 042414011edfd405230b65e77e2b14870852760f)
Diffstat (limited to 'dilos/tdebase/debian/prune-nonfree')
-rw-r--r--dilos/tdebase/debian/prune-nonfree21
1 files changed, 21 insertions, 0 deletions
diff --git a/dilos/tdebase/debian/prune-nonfree b/dilos/tdebase/debian/prune-nonfree
new file mode 100644
index 000000000..4fa832d5c
--- /dev/null
+++ b/dilos/tdebase/debian/prune-nonfree
@@ -0,0 +1,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