Fix fix-apk dropping last package
This commit is contained in:
parent
cbd65805f8
commit
41b598936f
@ -31,6 +31,13 @@ lxc-build ${SOURCE_DIR}/ckan-datapusher
|
|||||||
lxc-build ${SOURCE_DIR}/crisiscleanup
|
lxc-build ${SOURCE_DIR}/crisiscleanup
|
||||||
lxc-build ${SOURCE_DIR}/cts
|
lxc-build ${SOURCE_DIR}/cts
|
||||||
lxc-build ${SOURCE_DIR}/frontlinesms
|
lxc-build ${SOURCE_DIR}/frontlinesms
|
||||||
|
lxc-build ${SOURCE_DIR}/gnuhealth
|
||||||
|
lxc-build ${SOURCE_DIR}/kanboard
|
||||||
|
lxc-build ${SOURCE_DIR}/mariadb
|
||||||
|
lxc-build ${SOURCE_DIR}/mifosx
|
||||||
|
lxc-build ${SOURCE_DIR}/motech
|
||||||
|
lxc-build ${SOURCE_DIR}/opendatakit
|
||||||
|
lxc-build ${SOURCE_DIR}/opendatakit-build
|
||||||
lxc-build ${SOURCE_DIR}/postgres
|
lxc-build ${SOURCE_DIR}/postgres
|
||||||
lxc-build ${SOURCE_DIR}/redis
|
lxc-build ${SOURCE_DIR}/redis
|
||||||
lxc-build ${SOURCE_DIR}/solr
|
lxc-build ${SOURCE_DIR}/solr
|
||||||
|
@ -16,6 +16,9 @@ def fix_installed(layers):
|
|||||||
installed.append(buffer)
|
installed.append(buffer)
|
||||||
buffer = []
|
buffer = []
|
||||||
buffer.append(line)
|
buffer.append(line)
|
||||||
|
buffer = ''.join(buffer)
|
||||||
|
if buffer not in installed:
|
||||||
|
installed.append(buffer)
|
||||||
except:
|
except:
|
||||||
continue
|
continue
|
||||||
os.makedirs(os.path.join(layers[-1], 'lib/apk/db'), 0o755, True)
|
os.makedirs(os.path.join(layers[-1], 'lib/apk/db'), 0o755, True)
|
||||||
|
Loading…
Reference in New Issue
Block a user