1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

Fix archive repo apk names and source references properly

This commit is contained in:
Ciaran Gultnieks 2013-05-16 09:30:08 +01:00
parent 25a84a05b5
commit 9bb4ef0648

View File

@ -232,7 +232,7 @@ def scan_apks(apps, apkcache, repodir, knownapks):
apks = [] apks = []
for apkfile in glob.glob(os.path.join(repodir, '*.apk')): for apkfile in glob.glob(os.path.join(repodir, '*.apk')):
apkfilename = apkfile[len(repodir):] apkfilename = apkfile[len(repodir) + 1:]
if apkfilename.find(' ') != -1: if apkfilename.find(' ') != -1:
print "No spaces in APK filenames!" print "No spaces in APK filenames!"
sys.exit(1) sys.exit(1)