Skip to content

Commit

Permalink
Update setup.py, new man page location (#56)
Browse files Browse the repository at this point in the history
FreeBSD changed the location of man pages.
The current port has a patch to do this change.
  • Loading branch information
grembo authored Dec 20, 2024
1 parent b25ce3a commit a0147c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@

if os.path.isdir("/".join([sys.prefix, "etc/init.d"])):
_data = [('etc/init.d', ['rc.d/iocage']),
('man/man8', ['iocage.8.gz'])]
('share/man/man8', ['iocage.8.gz'])]
else:
_data = [('etc/rc.d', ['rc.d/iocage']),
('man/man8', ['iocage.8.gz'])]
('share/man/man8', ['iocage.8.gz'])]

if os.path.isdir("/".join([sys.prefix, "share/zsh/site-functions/"])):
_data.append(('share/zsh/site-functions', ['zsh-completion/_iocage']))
Expand Down

0 comments on commit a0147c0

Please sign in to comment.