From 0277521b268b21caf0ee21202b92784f302baadc Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 15 Nov 2020 19:23:30 +0800 Subject: DEB: adjusted to new 'core' folder for main packages. Signed-off-by: Michele Calgaro --- dilos/core/tdebase/debian/prune-nonfree | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 dilos/core/tdebase/debian/prune-nonfree (limited to 'dilos/core/tdebase/debian/prune-nonfree') diff --git a/dilos/core/tdebase/debian/prune-nonfree b/dilos/core/tdebase/debian/prune-nonfree new file mode 100644 index 000000000..4fa832d5c --- /dev/null +++ b/dilos/core/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 -- cgit v1.2.1