mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-08 18:31:07 +03:00
Remove gpg sig when removing disabled builds
This commit is contained in:
parent
7c0185fab5
commit
4c7c410d6e
1 changed files with 2 additions and 1 deletions
|
@ -276,8 +276,9 @@ def delete_disabled_builds(apps, apkcache, repodirs):
|
||||||
apkfilename = app['id'] + '_' + str(build['vercode']) + '.apk'
|
apkfilename = app['id'] + '_' + str(build['vercode']) + '.apk'
|
||||||
for repodir in repodirs:
|
for repodir in repodirs:
|
||||||
apkpath = os.path.join(repodir, apkfilename)
|
apkpath = os.path.join(repodir, apkfilename)
|
||||||
|
ascpath = apkpath + ".asc"
|
||||||
srcpath = os.path.join(repodir, apkfilename[:-4] + "_src.tar.gz")
|
srcpath = os.path.join(repodir, apkfilename[:-4] + "_src.tar.gz")
|
||||||
for name in [apkpath, srcpath]:
|
for name in [apkpath, srcpath, ascpath]:
|
||||||
if os.path.exists(name):
|
if os.path.exists(name):
|
||||||
logging.warn("Deleting disabled build output " + apkfilename)
|
logging.warn("Deleting disabled build output " + apkfilename)
|
||||||
os.remove(name)
|
os.remove(name)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue