Skip to content

Commit

Permalink
Fixing fits installation
Browse files Browse the repository at this point in the history
  • Loading branch information
escowles committed Apr 27, 2016
1 parent 1fb7082 commit 3afbbab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install_scripts/fits.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/sh

# FITS
SHARED_DIR=$1

if [ -f "$SHARED_DIR/install_scripts/config" ]; then
. $SHARED_DIR/install_scripts/config
Expand All @@ -11,6 +12,5 @@ cd $DOWNLOAD_DIR
sudo curl $DOWNLOAD_URL > fits.zip
unzip fits.zip
chmod a+x fits-$FITS_VERSION/*.sh
sudo mv fits-$FITS_VERSION /usr/local
sudo ln -s /usr/local/fits-$FITS_VERSION/fits.sh /usr/local/bin/fits.sh
sudo ln -s /usr/local/fits-$FITS_VERSION/fits-env.sh /usr/local/bin/fits-env.sh
cd fits-$FITS_VERSION/
sudo mv *.properties *.sh lib tools xml /usr/local/bin

0 comments on commit 3afbbab

Please sign in to comment.