Use default values

This commit is contained in:
Santiago Lo Coco 2023-10-07 16:02:33 -03:00
parent 75a18ce2d0
commit 44e2d28f1a
1 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
#!/usr/bin/env bash #!/usr/bin/env bash
getInputs() { getInputs() {
gpgPrivateKey="$PLUGIN_GPGPRIVATEKEY" gpgPrivateKey="${PLUGIN_GPGPRIVATEKEY:-}"
gpgPublicKey="$PLUGIN_GPGPUBLICKEY" gpgPublicKey="${PLUGIN_GPGPUBLICKEY:-}"
gpgPassphrase="$PLUGIN_GPGPASSPHRASE" gpgPassphrase="${PLUGIN_GPGPASSPHRASE:-}"
pkgDir="$PLUGIN_PKGDIR" pkgDir="${PLUGIN_PKGDIR:-}"
} }
addUser() { addUser() {