Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/sh
#VerifyMinecraftEdu
mcpath="/Library/Application Support/minecraftedu"
homepath="$HOME/Library/Application Support/"
endpath="$HOME/Library/Application Support/minecraftedu/"
if [[ -e "$mcpath" ]]
then
if [[ ! -e "$endpath" ]]
then
cp -R "$mcpath" "$homepath"
chown -R $USER:staff "$endpath"
fi
else
echo "Didn't find MinecraftEDU in /Library/Application Support/."
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.