Advertisement
Guest User

ughhh

a guest
Jul 22nd, 2014
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.55 KB | None | 0 0
  1. #!/bin/sh
  2. echo test!
  3. linuxDirectory='/etc/adobe/FlashPlayerTrust'
  4. macDirectory='/Library/Application Support/Macromedia/FlashPlayerTrust'
  5. directory='HeadspaceTrust.cfg'
  6. if [[ "$OSTYPE" == "linux-gnu" ]]; then
  7.     echo Linux is cool
  8.     directory='$linuxDirectory $directory'
  9. elif [[ "$OSTYPE" == "darwin"* ]]; then
  10.     echo I am a Mac... eww
  11.     directory='$macDirectory $directory'
  12. elif [[ "$OSTYPE" == "cygwin" ]]; then
  13.     echo Why are you running this file??
  14.     directory=$linuxDirectory $directory
  15.     echo $directory
  16. else
  17.     echo I DONT KNOW WHAT YOU ARE!!
  18. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement