Skip to content

Commit

Permalink
fix(base): add -p option to mkdir
Browse files Browse the repository at this point in the history
Closes issue #20
  • Loading branch information
pondichys committed Aug 13, 2024
1 parent 961e1aa commit cd1431f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/void-base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ declare userlocaldirs=("$HOME/.local/bin" "$HOME/.local/share/icons" "$HOME/.loc
for dir in "${userlocaldirs[@]}"; do
if ! [ -d "${dir}" ]; then
echo "${dir} does not exist -> creating it ..."
mkdir "${dir}" && echo "${dir} created."
mkdir -p "${dir}" && echo "${dir} created."
else
echo "${dir} already exists -> nothing to do."
fi
Expand Down

0 comments on commit cd1431f

Please sign in to comment.