summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
authorSimon Rettberg2013-09-09 20:24:45 +0200
committerSimon Rettberg2013-09-09 20:24:45 +0200
commit95bfa5e889d8df6d38639a39eb811110b0ab1e49 (patch)
tree2726a41c301fabd1cdd5a9a6a41d85dd4ed29a9e /remote
parent[helper/fileutil] Fix error handling in install_packages (diff)
downloadtm-scripts-95bfa5e889d8df6d38639a39eb811110b0ab1e49.tar.gz
tm-scripts-95bfa5e889d8df6d38639a39eb811110b0ab1e49.tar.xz
tm-scripts-95bfa5e889d8df6d38639a39eb811110b0ab1e49.zip
[polkit] FIX: Actually take REQUIRED_DIR_STRUCT into account
Diffstat (limited to 'remote')
-rw-r--r--remote/modules/polkit/polkit.build7
1 files changed, 3 insertions, 4 deletions
diff --git a/remote/modules/polkit/polkit.build b/remote/modules/polkit/polkit.build
index eeae1e32..151da8a8 100644
--- a/remote/modules/polkit/polkit.build
+++ b/remote/modules/polkit/polkit.build
@@ -6,10 +6,9 @@ fetch_source () {
}
build () {
- COPYLIST="$MODULE_DIR/list_dpkg_output"
- [ -e "${COPYLIST}" ] && rm "${COPYLIST}"
-
- list_packet_files >> "${COPYLIST}"
+ local COPYLIST="$MODULE_DIR/list_dpkg_output"
+ list_packet_files > "$COPYLIST"
+ [ -n "$REQUIRED_DIR_STRUCT" ] && find $REQUIRED_DIR_STRUCT -type d >> "$COPYLIST"
tarcopy "$(cat "${COPYLIST}" | sort -u)" "${MODULE_BUILD_DIR}"
local POLPATH=$(find "$MODULE_BUILD_DIR" -name polkitd -executable | head -n 1)
POLPATH="/${POLPATH#$MODULE_BUILD_DIR}"