]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/platforms/suse/bacula.spec.in
Integrate Phil's Makefile patch
[bacula/bacula] / bacula / platforms / suse / bacula.spec.in
index 53a16dc2b53259cb98d7823ee83d026d6db7b84a..62c7df0da7bdcbc36f9d3db99c563e379471ff75 100644 (file)
@@ -458,6 +458,7 @@ cp -p platforms/redhat/bacula-dir $RPM_BUILD_ROOT/etc/init.d/bacula-dir
 cp -p platforms/redhat/bacula-fd $RPM_BUILD_ROOT/etc/init.d/bacula-fd
 cp -p platforms/redhat/bacula-sd $RPM_BUILD_ROOT/etc/init.d/bacula-sd
 %endif
+chmod 0754 $RPM_BUILD_ROOT/etc/init.d/*
 
 # install the menu stuff
 cp -p scripts/bacula.png $RPM_BUILD_ROOT/usr/share/pixmaps/bacula.png
@@ -472,7 +473,7 @@ cp -p ../depkgs/sqlite/libsqlite.a $RPM_BUILD_ROOT%{sqlite_bindir}/libsqlite.a
 %endif
 
 # install the logrotate file
-cp scripts/logrotate $RPM_BUILD_ROOT/etc/logrotate.d/bacula
+cp -p scripts/logrotate $RPM_BUILD_ROOT/etc/logrotate.d/bacula
 
 # install the rescue stuff
 # these are the rescue scripts
@@ -887,6 +888,7 @@ echo "The database update scripts were installed to /etc/bacula/updatedb"
 * Mon Mar 1 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
 - replaced all cp commands with cp -p
 - removed addition of a+x permissions on gnome-console
+- corrected permissions on init scripts
 * Sat Feb 28 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
 - corrected creation of sqlite_bindir in install from !mysql to sqlite
 -