1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-04-16 04:15:42 +02:00

fix script fails if path doesn't exist

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
This commit is contained in:
Benjamin Brahmer 2020-10-25 18:32:40 +01:00 committed by Sean Molenaar
parent 6502ce620c
commit 4e6915465e

View File

@ -164,6 +164,7 @@ appstore:
cp js/admin/Admin.js $(appstore_sign_dir)/$(app_name)/js/admin
# export the key and cert to a file
mkdir -p $(cert_dir)
php ./bin/tools/file_from_env.php "app_private_key" "$(cert_dir)/$(app_name).key"
php ./bin/tools/file_from_env.php "app_public_crt" "$(cert_dir)/$(app_name).crt"