aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2020-11-10 23:38:42 +0100
committerTeddy Wing2020-11-11 19:13:42 +0100
commita39789cca074e849f1ecd2550e5dec9c51e675b1 (patch)
tree021f551ce7c7fb9e1a1cb439632afee4f4bf7dd0
parent7568d76d958db06761b6a7cf973fbb023fe4e3b9 (diff)
downloadmacosx-replace-system-icons-a39789cca074e849f1ecd2550e5dec9c51e675b1.tar.bz2
icons.sh: Preserve file attributes when backing up CoreTypes
-rwxr-xr-xicons.sh2
1 files changed, 1 insertions, 1 deletions
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/"