mirror of
https://github.com/CMiksche/gitea-auto-update
synced 2025-12-10 07:57:23 +01:00
Changed mv to cp to preserve SELinux permissions
This commit is contained in:
@@ -16,4 +16,4 @@ def build_from_source(tag, gt_file, source_dir):
|
||||
os.system("git pull")
|
||||
os.system("git checkout " + tag)
|
||||
os.system('TAGS="bindata sqlite sqlite_unlock_notify" make generate build')
|
||||
os.system("mv gitea " + gt_file)
|
||||
os.system("cp gitea " + gt_file)
|
||||
|
||||
Reference in New Issue
Block a user