summaryrefslogtreecommitdiffstats
path: root/installer/opengnsys_uninstall.sh
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2018-11-23 14:41:33 +0100
committerRamón M. Gómez <ramongomez@us.es>2018-11-23 14:41:33 +0100
commit59d66700b6878cc57b28f12c21bbb43a38f0871f (patch)
treeb1c3d3f2e83b2c1122d8832ead5af024bfe0f590 /installer/opengnsys_uninstall.sh
parent4d0694b55c9c4bdafe113b1e6fa11204ea0886d3 (diff)
#846: Remove appropiate logrotate files when uninstalling or updating.
Diffstat (limited to 'installer/opengnsys_uninstall.sh')
-rwxr-xr-xinstaller/opengnsys_uninstall.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/installer/opengnsys_uninstall.sh b/installer/opengnsys_uninstall.sh
index a9cde989..264ef71e 100755
--- a/installer/opengnsys_uninstall.sh
+++ b/installer/opengnsys_uninstall.sh
@@ -115,6 +115,7 @@ for dir in $OPENGNSYS/*; do
done
rm -f /etc/init.d/opengnsys /etc/default/opengnsys /var/log/opengnsys
rm -f /etc/cron.d/{opengnsys,torrentcreator,torrenttracker}
+rm -f /etc/logrotate.d/opengnsys*
# Elminar recursos de OpenGnsys en Samba.
rm -f /etc/samba/smb-og.conf
perl -ni -e "print unless /smb-og.conf/" /etc/samba/smb.conf