Skip to content

Commit

Permalink
fix(change_color.sh): create parent dir if it doesnt exists (fixes na…
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless authored Apr 26, 2021
1 parent eda573b commit 1ad750f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions change_color.sh
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,8 @@ meson install -C _build
GENERATED_PATH="$tempdir/share/themes/Materia$COLOR_SUFFIX$SIZE_SUFFIX"
if [[ -d "$DEST_PATH" ]]; then
rm -r "$DEST_PATH"
elif [[ ! -d "$DEST_PATH"/.. ]]; then
mkdir -p "$DEST_PATH"/..
fi
mv "$GENERATED_PATH" "$DEST_PATH"

Expand Down

0 comments on commit 1ad750f

Please sign in to comment.