Do not fail on unsuccessful --startup-* commands.
authorshort <>
Sun, 6 Jun 2004 11:34:37 +0000 (11:34 +0000)
committershort <>
Sun, 6 Jun 2004 11:34:37 +0000 (11:34 +0000)
udpgate.spec.in

index 43a5d26..062b8d2 100644 (file)
@@ -60,10 +60,10 @@ make DESTDIR=$RPM_BUILD_ROOT install-strip
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_bindir}/@PACKAGE@ --text --startup-on
+%{_bindir}/@PACKAGE@ --text --startup-on  || true
 
 %preun
-%{_bindir}/@PACKAGE@ --text --startup-off
+%{_bindir}/@PACKAGE@ --text --startup-off || true
 
 %files
 %defattr(-,root,root)