fix(change_color.sh): create parent dir if it doesnt exists (fixes #573)
fix(change_color.sh): create parent dir if it doesnt exists (fixes #573)
fix(change_color.sh): create parent dir if it doesnt exists (fixes #573)
by roundabout, Monday, 26 April 2021, 22:08:27 (1619474907), pushed by roundabout, Sunday, 11 May 2025, 13:23:03 (1746969783)
Author identity: GitHub <noreply@github.com>
1ad750f6e5585ae59abc7b8db34d73ebaaa293a4
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"