mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
update install slpkg.conf file
This commit is contained in:
parent
fa0ab1292e
commit
c0cebd8220
1 changed files with 1 additions and 3 deletions
4
setup.py
4
setup.py
|
@ -104,9 +104,7 @@ if "install" in sys.argv:
|
||||||
]
|
]
|
||||||
if not os.path.exists(_m.conf_path):
|
if not os.path.exists(_m.conf_path):
|
||||||
os.makedirs(_m.conf_path)
|
os.makedirs(_m.conf_path)
|
||||||
print("Installing '{0}' file".format(conf_file[0].split('/')[1]))
|
for conf in conf_file:
|
||||||
shutil.copy2(conf_file[0], _m.conf_path + conf_file[0].split('/')[1])
|
|
||||||
for conf in conf_file[1:]:
|
|
||||||
filename = conf.split("/")[-1]
|
filename = conf.split("/")[-1]
|
||||||
print("Installing '{0}' file".format(filename))
|
print("Installing '{0}' file".format(filename))
|
||||||
if os.path.isfile(_m.conf_path + filename):
|
if os.path.isfile(_m.conf_path + filename):
|
||||||
|
|
Loading…
Reference in a new issue