diff options
-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 |