#!/bin/bash

if [ -d "/var/jb" ];
then
mkdir -p /var/jb/Library/Laetus || true
chmod 777 /var/jb/Library/Laetus || true
mkdir -p /var/jb/Library/Laetus/UserImages || true
chmod 777 /var/jb/Library/Laetus/UserImages || true
mkdir -p /var/jb/Library/Laetus/Presets || true
chmod 777 /var/jb/Library/Laetus/Presets || true
else
mkdir -p /Library/Laetus || true
chmod 777 /Library/Laetus || true
mkdir -p /Library/Laetus/UserImages || true
chmod 777 /Library/Laetus/UserImages || true
mkdir -p /Library/Laetus/Presets || true
chmod 777 /Library/Laetus/Presets || true
fi

