summarylogtreecommitdiffstats
path: root/iraf-firstrun.sh
blob: b85d1cba906b130e75bc65e9b578d1ed2cb3dbd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

echo "Performing initial IRAF installation"
if [ `id -u` != "0" ]; 
then
  echo "root previleges required, exit..."
  exit 1
else
  echo "Install IRAF"
  /iraf/iraf/unix/hlib/install.csh
  echo "Install IRAF X11"
  cd /usr/local/src/x11iraf
  /usr/local/src/x11iraf/install
fi