1
0
Fork 0
mirror of https://github.com/vinceliuice/WhiteSur-cursors.git synced 2024-10-16 12:20:45 +00:00

install: Create dest dir if not present

Signed-off-by: DarkJoker360 <simoespo159@gmail.com>
This commit is contained in:
DarkJoker360 2022-07-06 16:57:33 +02:00
parent 5c94e8c22d
commit 0e74ce02e8

View file

@ -10,7 +10,9 @@ else
DEST_DIR="$HOME/.local/share/icons"
fi
if [ -d "$DEST_DIR/WhiteSur-cursors" ]; then
if [ ! -d "$DEST_DIR" ]; then
mkdir -p $DEST_DIR
elif [ -d "$DEST_DIR/WhiteSur-cursors" ]; then
rm -r "$DEST_DIR/WhiteSur-cursors"
fi