Fix gpg unsafe perms warning

This commit is contained in:
Starbeamrainbowlabs 2019-08-06 00:44:05 +01:00
parent e1cc931f3e
commit da9329257c
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 2 additions and 1 deletions

View File

@ -79,7 +79,8 @@ task_setup() {
task_end $?;
if [ ! -d "${GNUPGHOME}" ]; then
mkdir "${GNUPGHOME}"
mkdir "${GNUPGHOME}";
chown 0700 "${GNUPGHOME}";
if [ ! -f "./secret.gpg" ]; then
echo "Couldn't find the secret key to use.";
echo "Make sure ${HC}secret.gpg${RS} exists on disk.";