%endif
# check what distribution we are
-%if %{rh7} || %{rh8} || %{rh9} || %{fc1} || %{fc3} || %{wb3}
+%if %{rh7} || %{rh8} || %{rh9}
%define _dist %(grep Red /etc/redhat-release)
%endif
+%if %{fc1} || %{fc3}
+%define _dist %(grep Fedora /etc/redhat-release)
+%endif
+%if %{wb3}
+%define _dist %(grep White /etc/whitebox-release)
+%endif
%if %{su9}
%define _dist %(grep SuSE /etc/SuSE-release)
%endif
%if ! %{rh7} && ! %{rh8}
/usr/sbin/bacula-tray-monitor
-/etc/bacula/tray-monitor.conf
+%config(noreplace) /etc/bacula/tray-monitor.conf
/usr/share/pixmaps/bacula-tray-monitor.xpm
/usr/share/applications/bacula-tray-monitor.desktop
%endif
%changelog
+* Tue Mar 01 2005 D. Scott Barninger <barninger@fairfieldcomputers.com>
+- fix tray-monitor.conf for noreplace
+* Mon Feb 28 2005 D. Scott Barninger <barninger@fairfieldcomputers.com>
+- fix distribution check for Fedora and Whitebox
* Sun Feb 06 2005 D. Scott Barninger <barninger@fairfieldcomputers.com>
- add logwatch script
- add dvd scripts