From 728e3a969cb2b5f9eabf90581a48f6d3cab1f1b2 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Fri, 7 Feb 2020 21:08:59 +0800 Subject: [PATCH] Update install.sh --- install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 9a496cc..1eea8a1 100755 --- a/install.sh +++ b/install.sh @@ -10,7 +10,11 @@ else DEST_DIR="$HOME/.local/share/icons" fi -cp -pr dist/ $DEST_DIR/McMojave-cursors +if [ -d "$DEST_DIR/McMojave-cursors" ]; then + rm -r "$DEST_DIR/McMojave-cursors" +fi + +cp -pr dist $DEST_DIR/McMojave-cursors echo "Finished..."