Skip to content

Instantly share code, notes, and snippets.

@rtrouton
Created August 7, 2014 13:39
Show Gist options
  • Save rtrouton/d3f4d9f745f6c8fdee22 to your computer and use it in GitHub Desktop.
Save rtrouton/d3f4d9f745f6c8fdee22 to your computer and use it in GitHub Desktop.
Script to reinstall DNAstar 12's seqninja command line symbolic links in /usr/bin
#!/bin/bash
if [ -e "/usr/bin/seqninja" ]; then
rm -rf "/usr/bin/seqninja"
fi
if [ -e "/usr/bin/seqninja12" ]; then
rm -rf "/usr/bin/seqninja12"
fi
ln -s "/Applications/DNASTAR/Lasergene 12/SeqNinja.app/Contents/MacOS/SeqNinja.command" "/usr/bin/seqninja"
ln -s "/Applications/DNASTAR/Lasergene 12/SeqNinja.app/Contents/MacOS/SeqNinja.command" "/usr/bin/seqninja12"
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment