Don't uninstall the configuration file.
This commit is contained in:
parent
fe29b9f848
commit
fb7363d97e
1 changed files with 3 additions and 1 deletions
|
@ -107,13 +107,15 @@ recipe_install() {
|
||||||
|
|
||||||
recipe_uninstall() {
|
recipe_uninstall() {
|
||||||
rm -v "$PREFIX/bin/$PROG"
|
rm -v "$PREFIX/bin/$PROG"
|
||||||
rm -v "/etc/telodendria.conf"
|
|
||||||
rm -v "/etc/rc.d/telodendria"
|
rm -v "/etc/rc.d/telodendria"
|
||||||
|
|
||||||
userdel "_telodendria"
|
userdel "_telodendria"
|
||||||
groupdel "_telodendria"
|
groupdel "_telodendria"
|
||||||
|
|
||||||
find "$PREFIX/man" -name 'telodendria*\.[1-8]' -delete
|
find "$PREFIX/man" -name 'telodendria*\.[1-8]' -delete
|
||||||
|
|
||||||
|
echo "Not removing configuration file at /etc/telodendria.conf"
|
||||||
|
echo "Not removing data directory at /var/telodendria"
|
||||||
}
|
}
|
||||||
|
|
||||||
recipe_run() {
|
recipe_run() {
|
||||||
|
|
Loading…
Reference in a new issue