Author: baggins
Date: Tue Apr  3 22:21:54 2012
New Revision: 12537

Modified:
   rc-scripts/trunk/Makefile.am
Log:
- add uninstall-hook, don't we just love autocrap crapiness?


Modified: rc-scripts/trunk/Makefile.am
==============================================================================
--- rc-scripts/trunk/Makefile.am        (original)
+++ rc-scripts/trunk/Makefile.am        Tue Apr  3 22:21:54 2012
@@ -37,6 +37,9 @@
        install -d $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)
        [ -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache ] || touch 
$(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache
 
+uninstall-hook:
+       [ -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache ] && rm -f 
$(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache
+
 # make rpms
 rpm: $(PACKAGE).spec
        $(MAKE) dist
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to