Changed: change import_subscription function name

This commit is contained in:
Daniel Del Rio Figueira 2021-05-07 12:28:06 +02:00
parent 585aa616c8
commit 3338c153e4
No known key found for this signature in database
GPG Key ID: DCB25219AF061D1B
1 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ get_subscription_file() {
return 1
}
check_subscription() {
import_subscription() {
if get_subscription_file; then
echo "Subscription file found: $SUBSCRIPTION_FILE"
su -c "/usr/share/php/passbolt/bin/cake passbolt subscription_import --file $SUBSCRIPTION_FILE" -s /bin/bash www-data
@ -116,7 +116,7 @@ install() {
export PASSBOLT_GPG_SERVER_KEY_FINGERPRINT=$gpg_auto_fingerprint
fi
check_subscription || true
import_subscription || true
install_command || migrate_command && echo "Enjoy! ☮"
}