mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-06 13:18:42 +02:00
getbinaries: make .AppImage files executable
shouldn't be a security issue, since they are always in subdirectories
This commit is contained in:
1
NEWS
1
NEWS
@@ -1,6 +1,7 @@
|
||||
0.157
|
||||
- add unpublish command (requires OBS 2.8)
|
||||
- results: show multibuild results by default
|
||||
- getbinaries: make .AppImage files executable
|
||||
|
||||
0.156
|
||||
- highlight scheduled jobs with dispatch problems (due to constraints)
|
||||
|
@@ -4512,6 +4512,8 @@ def get_binary_file(apiurl, prj, repo, arch,
|
||||
where = package or '_repository'
|
||||
u = makeurl(apiurl, ['build', prj, repo, arch, where, filename])
|
||||
download(u, target_filename, progress_obj, target_mtime)
|
||||
if target_filename.endswith('.AppImage'):
|
||||
os.chmod(target_filename, 0o755)
|
||||
|
||||
def dgst_from_string(str):
|
||||
# Python 2.5 depracates the md5 modules
|
||||
|
Reference in New Issue
Block a user