From a39789cca074e849f1ecd2550e5dec9c51e675b1 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 10 Nov 2020 23:38:42 +0100 Subject: icons.sh: Preserve file attributes when backing up CoreTypes --- icons.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icons.sh b/icons.sh index 7f0ccbf..389d769 100755 --- a/icons.sh +++ b/icons.sh @@ -9,7 +9,7 @@ REPLACEMENT="$(cd "$(dirname "$0")" && pwd)/Icons" sudo -v # Backup CoreTypes.bundle -sudo cp -R "$CORE_TYPES" "${CORE_TYPES}.backup" +sudo cp -a "$CORE_TYPES" "${CORE_TYPES}.backup" # Set icons sudo cp -f "$REPLACEMENT/ApplicationsFolderIcon.icns" "$GENERIC_ICONS/" -- cgit v1.2.3