summaryrefslogtreecommitdiffstats
path: root/remote/tools/policykit/policykit.build
diff options
context:
space:
mode:
authorJonathan Bauer2013-03-01 18:21:22 +0100
committerJonathan Bauer2013-03-01 18:21:22 +0100
commit24aae46964c2cce4989df7f2b8e163683ce84ddf (patch)
tree953b44bc5473b744eab191c6dfd4c87aedc1b09d /remote/tools/policykit/policykit.build
parentuse list_packet_files in xorg.build (diff)
downloadtm-scripts-24aae46964c2cce4989df7f2b8e163683ce84ddf.tar.gz
tm-scripts-24aae46964c2cce4989df7f2b8e163683ce84ddf.tar.xz
tm-scripts-24aae46964c2cce4989df7f2b8e163683ce84ddf.zip
use list_packet_files in policykit.build
Diffstat (limited to 'remote/tools/policykit/policykit.build')
-rw-r--r--remote/tools/policykit/policykit.build24
1 files changed, 3 insertions, 21 deletions
diff --git a/remote/tools/policykit/policykit.build b/remote/tools/policykit/policykit.build
index 079985ac..72d7f246 100644
--- a/remote/tools/policykit/policykit.build
+++ b/remote/tools/policykit/policykit.build
@@ -25,27 +25,9 @@ build () {
COPYLIST="list_dpkg_output"
[ -e "$COPYLIST" ] && rm "$COPYLIST"
- touch "$COPYLIST"
-
- pinfo "determining required packages..."
- if [ ! -z ${REQUIRED_PACKAGES} ]
- then
- for PACKAGE in ${REQUIRED_PACKAGES}
- do
- for FILE in $(dpkg -L ${PACKAGE} | grep -v share/doc | grep -v share/man)
- do
- [ ! -d $FILE ] && echo $FILE >> "$COPYLIST"
- done
- done
-
- # prepare target dir & copy there
- if [ -s "$COPYLIST" ]; then
- pinfo "using tar to copy all dependencies to $BUILDDIR"
- tarcopy "$(cat "$COPYLIST" | sort -u)" "$BUILDDIR"
- else
- pinfo "no dependencies found!"
- fi
- fi
+
+ list_packet_files >> "$COPYLIST"
+ tarcopy "$(cat "$COPYLIST" | sort -u)" "$BUILDDIR"
cd -
touch .built