mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
fix performance rights
This commit is contained in:
parent
8c06da55b8
commit
d14fc7391f
1 changed files with 2 additions and 2 deletions
|
@ -78,9 +78,9 @@ def it_self_update():
|
||||||
tar.close()
|
tar.close()
|
||||||
file_name = '{0}-{1}'.format(__all__, __new_version__)
|
file_name = '{0}-{1}'.format(__all__, __new_version__)
|
||||||
os.chdir(file_name)
|
os.chdir(file_name)
|
||||||
check_md5(pkg_checksum(slpkg_tar_file, "slpkg"),
|
check_md5(pkg_checksum(slpkg_tar_file[1:], "slpkg"),
|
||||||
build_path + slpkg_tar_file)
|
build_path + slpkg_tar_file)
|
||||||
subprocess.call('chmod +x {0}'.format(file_name), shell=True)
|
subprocess.call('chmod +x {0}'.format('install.sh'), shell=True)
|
||||||
subprocess.call('sh install.sh', shell=True)
|
subprocess.call('sh install.sh', shell=True)
|
||||||
else:
|
else:
|
||||||
print('\n{0}: There is no new version, already used the last !'
|
print('\n{0}: There is no new version, already used the last !'
|
||||||
|
|
Loading…
Reference in a new issue