Skip to content

Instantly share code, notes, and snippets.

@Voker57
Created February 20, 2010 15:45
Show Gist options
  • Save Voker57/309737 to your computer and use it in GitHub Desktop.
Save Voker57/309737 to your computer and use it in GitHub Desktop.
#!/bin/sh
if test "$(file -b --mime-type `which $1`)" == "text/x-python"; then
echo "Run for your lives!!!"
else
echo "No python"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment