scripts: formatting, x-thumbgen, imagick installer

This commit is contained in:
2023-04-13 16:31:39 +03:00
parent 38a6f6f8e4
commit 268fd35bdb
4 changed files with 54 additions and 6 deletions

View File

@@ -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