Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- echo test!
- linuxDirectory='/etc/adobe/FlashPlayerTrust'
- macDirectory='/Library/Application Support/Macromedia/FlashPlayerTrust'
- directory='HeadspaceTrust.cfg'
- if [[ "$OSTYPE" == "linux-gnu" ]]; then
- echo Linux is cool
- directory='$linuxDirectory $directory'
- elif [[ "$OSTYPE" == "darwin"* ]]; then
- echo I am a Mac... eww
- directory='$macDirectory $directory'
- elif [[ "$OSTYPE" == "cygwin" ]]; then
- echo Why are you running this file??
- directory=$linuxDirectory $directory
- echo $directory
- else
- echo I DONT KNOW WHAT YOU ARE!!
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement