Fix gpg unsafe perms warning
This commit is contained in:
parent
e1cc931f3e
commit
da9329257c
1 changed files with 2 additions and 1 deletions
|
@ -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.";
|
||||
|
|
Loading…
Reference in a new issue