Fix typo for installing POD images
This commit is contained in:
parent
7963380715
commit
a77b1ec100
|
@ -38,6 +38,6 @@ def install_pod(c, path='/srv/pod', download_url=None):
|
|||
if not exists(c, os.path.join(path, 'pod_pictures_gtin.zip')):
|
||||
if not download_url:
|
||||
download_url = 'http://www.product-open-data.com/docs/pod_pictures_gtin_2013.08.29_01.zip'
|
||||
c.sudo("bash -c 'cd {}; wget --output-document=pod_pictures_gtin.zip {}'".format(path, url))
|
||||
c.sudo("bash -c 'cd {}; wget --output-document=pod_pictures_gtin.zip {}'".format(path, download_url))
|
||||
if not exists(c, os.path.join(path, 'pictures/gtin')):
|
||||
c.sudo("bash -c 'cd {}; unzip pod_pictures_gtin.zip -d pictures'".format(path))
|
||||
|
|
Loading…
Reference in a new issue