--- mcore-src/trunk/mcore-tools/src/modules/citrix/storefront-store.in 2015/09/18 12:24:18 2593 +++ mcore-src/trunk/mcore-tools/src/modules/citrix/storefront-store.in 2015/09/18 12:26:41 2594 @@ -82,6 +82,9 @@ [[ -n ${method} ]] || die "No method given" +# always create the STOREFRONT_STORES_DIR +install -d "${STOREFRONT_STORES_DIR}" + case "${method}" in add) # requires name and store @@ -93,9 +96,6 @@ die "Only PNA Stores are allowed." fi - [ ! -d ${STOREFRONT_STORES_DIR} - # get a proper name strore[id].conf - store_name="$(normalize_store ${store_uri})" config="${STOREFRONT_STORES_DIR}/${store_name}.conf" CONFIG="${MROOT}/${config}"