Better check for lsigned keys

This commit is contained in:
Jake Howard 2017-10-19 13:43:40 +01:00
parent afe0656eca
commit b3c96fc436
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -19,6 +19,7 @@ class yaourt::keys () {
unless => "pacman-key --list-keys $key" unless => "pacman-key --list-keys $key"
} }
exec { "pacman-key --lsign-key $key": exec { "pacman-key --lsign-key $key":
unless => "pacman-key --list-keys $key | grep '\[ full \]'"
} }
} }
} }