install: Create dest dir if not present
Signed-off-by: DarkJoker360 <simoespo159@gmail.com>
This commit is contained in:
parent
5c94e8c22d
commit
0e74ce02e8
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue