diff --git a/gitea_auto_update/lib/download.py b/gitea_auto_update/lib/download.py index f178ad7..5f51f0d 100644 --- a/gitea_auto_update/lib/download.py +++ b/gitea_auto_update/lib/download.py @@ -67,6 +67,8 @@ class Download: # moving temp file to gtfile location cmd = 'mv ' + self.tmpDir + 'gitea-' + self.githubVersion + '-' + self.gtSystem + ' ' + self.gtFile os.system(cmd) + cmd = 'chmod +x ' + self.gtFile + os.system(cmd) def checkAndExtract(self): os.chdir(self.tmpDir)