diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-24 12:54:56 +0100 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-24 12:54:56 +0100 |
| commit | ab39f049c6d2467ca8e133493ff6f07775c6dd50 (patch) | |
| tree | ea9542f39de9a767f17d1e1b9dfa1e6e5d7219a5 /custom | |
| parent | f281e1d83d49dc467569c74c37fd51c2cbe32838 (diff) | |
| download | nixos-ab39f049c6d2467ca8e133493ff6f07775c6dd50.tar nixos-ab39f049c6d2467ca8e133493ff6f07775c6dd50.tar.gz nixos-ab39f049c6d2467ca8e133493ff6f07775c6dd50.tar.bz2 nixos-ab39f049c6d2467ca8e133493ff6f07775c6dd50.tar.xz nixos-ab39f049c6d2467ca8e133493ff6f07775c6dd50.zip | |
better use of wildcards
Diffstat (limited to 'custom')
| -rw-r--r-- | custom/simp_le.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/simp_le.nix b/custom/simp_le.nix index f90abc71..7478bcbf 100644 --- a/custom/simp_le.nix +++ b/custom/simp_le.nix | |||
| @@ -19,7 +19,7 @@ let | |||
| 19 | -f account_key.json \ | 19 | -f account_key.json \ |
| 20 | -f cert.pem \ | 20 | -f cert.pem \ |
| 21 | -f fullchain.pem \ | 21 | -f fullchain.pem \ |
| 22 | -f key.pem || { rm *; mv $backupDir/* . && rmdir $backupDir; } | 22 | -f key.pem || { for f in *; do rm $f; done; mv $backupDir/* . && rmdir $backupDir; } |
| 23 | [[ -e key.pem ]] && ln -s -f key.pem privkey.pem | 23 | [[ -e key.pem ]] && ln -s -f key.pem privkey.pem |
| 24 | ''; | 24 | ''; |
| 25 | in | 25 | in |
