diff options
author | Jonathan Bauer | 2013-04-24 18:54:58 +0200 |
---|---|---|
committer | Jonathan Bauer | 2013-04-24 18:54:58 +0200 |
commit | 8de671e4a03a47a7ca7c7431ee7d250f76fb75ab (patch) | |
tree | 354df0d7e277b1d4b44842e3a99464ae7ac5591b /helper/fileutil.inc | |
parent | Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff) | |
download | tm-scripts-8de671e4a03a47a7ca7c7431ee7d250f76fb75ab.tar.gz tm-scripts-8de671e4a03a47a7ca7c7431ee7d250f76fb75ab.tar.xz tm-scripts-8de671e4a03a47a7ca7c7431ee7d250f76fb75ab.zip |
fix rsyslogd for ubuntu (hopefully not broken on suse :/)
Diffstat (limited to 'helper/fileutil.inc')
-rw-r--r-- | helper/fileutil.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/helper/fileutil.inc b/helper/fileutil.inc index ba1be103..f4cfe298 100644 --- a/helper/fileutil.inc +++ b/helper/fileutil.inc @@ -79,6 +79,10 @@ copy_static_data() { cp -r "${MODULE_DIR}/data/"* ${TARGET_BUILD_DIR} || perror "Could not copy static data of ${MODULE}" } +copy_system_files() { + [ ! -z "$REQUIRED_SYSTEM_FILES" ] && tarcopy "$REQUIRED_SYSTEM_FILES" "$TARGET_BUILD_DIR" +} + calc_size() { local CURRENT_BUILD_SIZE=$(du -bc "${TARGET_BUILD_DIR}" | awk 'END {print $1}') |