Skip to content

Instantly share code, notes, and snippets.

@Rainnwind
Rainnwind / Installer
Last active August 29, 2015 14:01 — forked from kalkun/getwallpaper
Originally created by kalkun
#!/bin/bash
#Checks for folder existence
#Creates folder if it does not exist
function checkFolder
{
if [ -e "$1" ]; then
printf "Excellent - $1 directory already exists\n"
else
mkdir "$1"