Permalink
Browse files

retag

  • Loading branch information...
2 parents dffb8a4 + d00b305 commit ec2a802be84788a7957bb8fbb72e16c2c0fe3f93 @dannyauble dannyauble committed Aug 6, 2010
Showing with 11 additions and 0 deletions.
  1. +11 −0 slurm.spec
View
@@ -730,6 +730,17 @@ if [ ! -f %{_sysconfdir}/slurm.conf ]; then
echo "Build a new one using http://www.llnl.gov/linux/slurm/configurator.html"
fi
+%post bluegene
+if [ -x /sbin/ldconfig ]; then
+ /sbin/ldconfig %{_libdir}/slurm
+ if [ $1 = 1 ]; then
+ [ -x /sbin/chkconfig ] && /sbin/chkconfig --add slurm
+ fi
+fi
+if [ ! -f %{_sysconfdir}/bluegene.conf ]; then
+ echo "You need to build and install a bluegene.conf file"
+ echo "Edit %{_sysconfdir}/bluegene.conf.example and copy it to bluegene.conf"
+fi
%preun
if [ "$1" = 0 ]; then

0 comments on commit ec2a802

Please sign in to comment.