Browse Source

Keep a copy of config if it exists

Olivier Mauras 2 years ago
parent
commit
47f2a917aa
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      install.sh

+ 1
- 0
install.sh View File

@@ -1,5 +1,6 @@
1 1
 #!/usr/bin/env bash
2 2
 # Very simple "installer"
3
+[[ -d /etc/certbot ]] && cp -r /etc/certbot ./certbot_bkp
3 4
 cp -r ./etc/certbot /etc
4 5
 cp ./certbot_manual /usr/bin
5 6
 chown -R root: /etc/certbot