diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /util/pkgrepo | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'util/pkgrepo')
-rwxr-xr-x | util/pkgrepo | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/util/pkgrepo b/util/pkgrepo new file mode 100755 index 00000000..1f521c6f --- /dev/null +++ b/util/pkgrepo @@ -0,0 +1,13 @@ +#!/bin/bash +# +# PKGREPO - Get the repository base URI, either from the environment +# variable 'IRAF_REPO' or the default. + + +if [ -z "$IRAF_REPO" ]; then + /bin/echo "ftp://iraf.noao.edu/iraf/v216/REPO" +else + /bin/echo $IRAF_REPO +fi + +exit 0 |