]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/platforms/suse/bacula.spec.in
Fix tray-monitor.conf for noreplace
[bacula/bacula] / bacula / platforms / suse / bacula.spec.in
index d1d9c83e038ed6f63cc1016dcf3c3c229345db49..4d47ad6bcf83680387e9bace86c49ca311cbc17b 100644 (file)
@@ -64,9 +64,15 @@ exit 1
 %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
@@ -1195,7 +1201,7 @@ echo "The database update scripts were installed to /etc/bacula/updatedb"
 
 %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
@@ -1209,6 +1215,10 @@ echo "The database update scripts were installed to /etc/bacula/updatedb"
 
 
 %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