mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-16 13:53:55 +00:00
scripts: formatting, x-thumbgen, imagick installer
This commit is contained in:
@@ -2,10 +2,13 @@
|
||||
# Verify folder exists, and if it does not, create it.
|
||||
|
||||
dir="$1"
|
||||
|
||||
[ $# -eq 0 ] && { echo "Usage: $0 full/path/to/dir/to/create"; exit 1; }
|
||||
|
||||
|
||||
[ $# -eq 0 ] && {
|
||||
echo "Usage: $0 full/path/to/dir/to/create"
|
||||
exit 1
|
||||
}
|
||||
|
||||
if [ ! -d "$dir" ]; then
|
||||
mkdir -p "$dir" && exit 0;
|
||||
mkdir -p "$dir" && exit 0
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user