summaryrefslogtreecommitdiffstats
path: root/core/includes
diff options
context:
space:
mode:
authorSimon Rettberg2021-07-23 13:58:22 +0200
committerSimon Rettberg2021-07-23 13:58:22 +0200
commit32a45fff4e043c872398fc302c7f0d19ad3a2fe4 (patch)
tree488af9a230f04b430012b706c4c640965e691eba /core/includes
parent[kiosk-chromium] if interactive mode and user was active, reload -> exit (diff)
downloadmltk-32a45fff4e043c872398fc302c7f0d19ad3a2fe4.tar.gz
mltk-32a45fff4e043c872398fc302c7f0d19ad3a2fe4.tar.xz
mltk-32a45fff4e043c872398fc302c7f0d19ad3a2fe4.zip
[systemd] Drop /usr prefix
Diffstat (limited to 'core/includes')
-rw-r--r--core/includes/helper/fileutil.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/includes/helper/fileutil.inc b/core/includes/helper/fileutil.inc
index 89d58f1a..b5a1e72d 100644
--- a/core/includes/helper/fileutil.inc
+++ b/core/includes/helper/fileutil.inc
@@ -25,7 +25,6 @@ tarcopy () {
[ ! -d "$TO" ] && { mkdir -p "$TO" || perror "could not create destination "$TO" for tar-copy."; }
# TODO count files copied? would remove the need to do it everywhere :)
tar $IGNORE_ERROR -cpP $FROM | tar -xp -C "$TO" \
- --transform 's,^/lib/udev/rules.d,/usr/lib/udev/rules.d,' \
2> /dev/null
local PS=(${PIPESTATUS[*]})
[ "x$IGNORE_ERROR" == "x" -a "x${PS[0]}" != "x0" ] && perror "packing-part of tar-copy from '$SHORT' to '$TO' failed. (${PS[0]})"