fix(change_color.sh): use readlink to remove ..
from the dest parent dir (fixes #573)
fix(change_color.sh): use readlink to remove ..
from the dest parent dir (fixes #573)
By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.
..
from the dest parent dir (fixes #573)
fix(change_color.sh): use readlink to remove ..
from the dest parent dir (fixes #573)
roundabout,
created on Thursday, 29 April 2021, 10:50:26 (1619693426),
received on Sunday, 11 May 2025, 13:23:04 (1746969784)
Author identity: Yauhen Kirylau <actionless.loveless@gmail.com>
3565e023930fb5e3a03450c128611b69a5c59f8d
GENERATED_PATH="$tempdir/share/themes/Materia$COLOR_SUFFIX$SIZE_SUFFIX" if [[ -d "$DEST_PATH" ]]; then rm -r "$DEST_PATH" elif [[ ! -d "$DEST_PATH"/.. ]]; thenmkdir -p "$DEST_PATH"/..elif [[ ! -d "$(readlink -f $DEST_PATH/..)" ]]; then mkdir -p "$(readlink -f $DEST_PATH/..)"fi mv "$GENERATED_PATH" "$DEST_PATH"