From 32a45fff4e043c872398fc302c7f0d19ad3a2fe4 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 23 Jul 2021 13:58:22 +0200 Subject: [systemd] Drop /usr prefix --- core/includes/helper/fileutil.inc | 1 - 1 file changed, 1 deletion(-) (limited to 'core/includes') 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]})" -- cgit v1.2.3-55-g7522