mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
updated and fix man path
This commit is contained in:
parent
c07ef3bc2e
commit
b2d6a65246
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
10-05-2014
|
||||
Version 1.0.2
|
||||
|
||||
[Updated] - setup.py file
|
||||
[Updated] - man page slpkg.8 added gziped
|
||||
|
||||
|
||||
09-05-2014
|
||||
Version 1.0.1
|
||||
|
||||
|
|
4
setup.py
4
setup.py
|
@ -28,10 +28,10 @@ setup(
|
|||
)
|
||||
|
||||
if 'install' in sys.argv:
|
||||
man_path = "/usr/man/man8"
|
||||
man_path = "/usr/man/man8/"
|
||||
os.system("mkdir -p {}".format(man_path))
|
||||
if os.path.exists(man_path):
|
||||
print("Installing man pages")
|
||||
man_page = "man/slpkg.8"
|
||||
shutil.copy2(man_page, man_path)
|
||||
os.chmod(man_path + 'slpkg.8', int('444', 8))
|
||||
os.chmod(man_path + 'slpkg.8.gz', int('444', 8))
|
||||
|
|
Loading…
Reference in a new issue