install.sh: Make directory if destination directory does not exist
See https://github.com/themix-project/oomox/issues/172
See https://github.com/themix-project/oomox/issues/172
by roundabout, Saturday, 10 November 2018, 10:34:06 (1541846046), pushed by roundabout, Sunday, 11 May 2025, 13:22:28 (1746969748)
Author identity: nana-4 <hnmaigo@gmail.com>
1b4295916b30e5b13a59156526acbc0878efc173
case "${1:-}" in
-d|--dest)
dest="$2"
if [[ ! -d "$dest" ]]; then
echo "ERROR: Destination directory does not exist."
exit 1
fi
mkdir -p "$dest"
shift 2
;;
-n|--name)