SPECS: setup.spec - %triggerpostun you mean? - keep /etc/fstab per...

glen glen at pld-linux.org
Fri Sep 16 20:28:17 CEST 2005


Author: glen                         Date: Fri Sep 16 18:28:17 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- %triggerpostun you mean?
- keep /etc/fstab permissions whatever they were

---- Files affected:
SPECS:
   setup.spec (1.107 -> 1.108) 

---- Diffs:

================================================================
Index: SPECS/setup.spec
diff -u SPECS/setup.spec:1.107 SPECS/setup.spec:1.108
--- SPECS/setup.spec:1.107	Fri Sep 16 19:56:20 2005
+++ SPECS/setup.spec	Fri Sep 16 20:28:11 2005
@@ -95,11 +95,13 @@
 
 %triggerpostun -p %{_sbindir}/joinpasswd -- %{name} < %{version}-%{release}
 
-%triggerin -- %{name} < 2.4.10-1
+%triggerpostun -- %{name} < 2.4.10-1
+# TODO: description what this trigger supposed to do
 awk '/^none.*usbfs/  { gsub(/.*/, \
 	"none\t\t/proc/bus/usb\t\tusbfs\tdefaults,noauto,devgid=78,devmode=0644\t0 0") \
 	} {print}' /etc/fstab > /etc/fstab.new
-mv /etc/fstab{.new,}
+cat /etc/fstab.new > /etc/fstab
+rm -f /etc/fstab.new
 
 %files
 %defattr(644,root,root,755)
@@ -131,6 +133,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.108  2005/09/16 18:28:11  glen
+- %triggerpostun you mean?
+- keep /etc/fstab permissions whatever they were
+
 Revision 1.107  2005/09/16 17:56:20  sparky
 - 2.4.10, it works but I don't like it much, can anyone check it ?
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/setup.spec?r1=1.107&r2=1.108&f=u




More information about the pld-cvs-commit mailing list