mirror of
https://github.com/RGBCube/agenix
synced 2025-07-30 02:07:44 +00:00
rename public_keys to publicKeys
more idiomatic
This commit is contained in:
parent
5e68735d26
commit
c89ed72dc6
3 changed files with 5 additions and 5 deletions
|
@ -84,7 +84,7 @@ trap "cleanup" 0 2 3 15
|
|||
|
||||
function edit {
|
||||
FILE=$1
|
||||
KEYS=$((nix-instantiate --eval -E "(let rules = import $RULES; in builtins.concatStringsSep \"\n\" rules.\"$FILE\".public_keys)" | sed 's/"//g' | sed 's/\\n/\n/g') || exit 1)
|
||||
KEYS=$((nix-instantiate --eval -E "(let rules = import $RULES; in builtins.concatStringsSep \"\n\" rules.\"$FILE\".publicKeys)" | sed 's/"//g' | sed 's/\\n/\n/g') || exit 1)
|
||||
|
||||
if [ -z "$KEYS" ]
|
||||
then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue