Skip to content

Commit

Permalink
Merge pull request #150 from iraf-community/fix-local-install
Browse files Browse the repository at this point in the history
Search login.cl in hlib$ as final resort
  • Loading branch information
olebole authored Aug 13, 2023
2 parents d380af4 + 8a5cd6f commit 2ed0f26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyraf/iraffunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@ def Init(doprint=1, hush=0, savefile=None):
fname = _os.path.expanduser('~/.iraf/login.cl')
elif access('/etc/iraf/login.cl'):
fname = '/etc/iraf/login.cl'
elif access('hlib$login.cl'):
fname = 'hlib$login.cl'
else:
fname = None

Expand Down

0 comments on commit 2ed0f26

Please sign in to comment.