Skip to content

Instantly share code, notes, and snippets.

@rtrouton
Created August 7, 2014 13:49
Show Gist options
  • Save rtrouton/77634c6a79c0f007aa2d to your computer and use it in GitHub Desktop.
Save rtrouton/77634c6a79c0f007aa2d to your computer and use it in GitHub Desktop.
Script to reinstall DNAstar 11'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/seqninja11" ]; then
rm -rf "/usr/bin/seqninja11"
fi
ln -s "/Applications/DNASTAR/Lasergene 11/SeqNinja.app/Contents/MacOS/SeqNinja.command" "/usr/bin/seqninja"
ln -s "/Applications/DNASTAR/Lasergene 11/SeqNinja.app/Contents/MacOS/SeqNinja.command" "/usr/bin/seqninja11"
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment