Lines 80-85
eof
Link Here
|
80 |
koha-stop-zebra $name || /bin/true |
80 |
koha-stop-zebra $name || /bin/true |
81 |
|
81 |
|
82 |
instancefile=$(get_apache_config_for $name) |
82 |
instancefile=$(get_apache_config_for $name) |
|
|
83 |
le_opacdomain=$(letsencrypt_get_opacdomain_for $name) |
83 |
|
84 |
|
84 |
[ -f "$instancefile" ] && \ |
85 |
[ -f "$instancefile" ] && \ |
85 |
rm "$instancefile" |
86 |
rm "$instancefile" |
Lines 97-102
eof
Link Here
|
97 |
rm "/etc/koha/sites/$name/zebra-authorities-dom.cfg" |
98 |
rm "/etc/koha/sites/$name/zebra-authorities-dom.cfg" |
98 |
[ -f "/etc/koha/sites/$name/zebra.passwd" ] && \ |
99 |
[ -f "/etc/koha/sites/$name/zebra.passwd" ] && \ |
99 |
rm "/etc/koha/sites/$name/zebra.passwd" |
100 |
rm "/etc/koha/sites/$name/zebra.passwd" |
|
|
101 |
[ -f "/var/lib/koha/$name/letsencrypt.enabled" ] && \ |
102 |
rm -r "/var/lib/koha/$name/letsencrypt.enabled" |
103 |
[ -f "/etc/letsencrypt/renewal/$le_opacdomain.conf" ] && \ |
104 |
rm -r "/etc/letsencrypt/renewal/$le_opacdomain.conf" |
100 |
# Maybe a user has left something in the config directory they want to keep? We won't delete it here, nor throw an error if the have. |
105 |
# Maybe a user has left something in the config directory they want to keep? We won't delete it here, nor throw an error if the have. |
101 |
[ -d "/etc/koha/sites/$name" ] && \ |
106 |
[ -d "/etc/koha/sites/$name" ] && \ |
102 |
rmdir --ignore-fail-on-non-empty "/etc/koha/sites/$name" |
107 |
rmdir --ignore-fail-on-non-empty "/etc/koha/sites/$name" |
103 |
- |
|
|