Don't kill config and doc dir on uninstallation
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Thu, 7 Oct 2010 09:45:10 +0000 (11:45 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Thu, 7 Oct 2010 09:45:10 +0000 (11:45 +0200)
bpdyndnsd.spec

index 588791b..e99ed66 100644 (file)
@@ -57,10 +57,6 @@ rm -rf $RPM_BUILD_ROOT
 /sbin/chkconfig --add bpdyndnsd
 /sbin/chkconfig --level 345 bpdyndnsd on
 
-%postun
-rm -rf /usr/share/doc/%{name}-%{version}
-rm -rf /etc/bpdyndnsd
-
 %files
 %config(noreplace) /etc/bpdyndnsd/bpdyndnsd.conf
 %config(noreplace) /etc/sysconfig/bpdyndnsd