Search
j0ke.net Open Build Service
>
Projects
>
GFS
:
experimental
>
cluster3
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 18
[-]
[+]
Changed
cluster.spec
@@ -1,7 +1,7 @@ #!BuildIgnore: post-build-checks Name: cluster Version: 3.0.4 -Release: 2 +Release: 3 License: GPL Group: System Summary: Redhat Cluster Suite @@ -112,20 +112,18 @@ rm -rf %{buildroot} %post -p /sbin/ldconfig - -%post -n gfs2-utils if [ -f /etc/modprobe.d/unsupported-modules ] ; then sed -i s@"allow_unsupported_modules 0"@"allow_unsupported_modules 1"@ /etc/modprobe.d/unsupported-modules fi -%preun -n gfs2-utils -if [ -f /etc/modprobe.d/unsupported-modules ] ; then - sed -i s@"allow_unsupported_modules 1"@"allow_unsupported_modules 0"@ /etc/modprobe.d/unsupported-modules -fi - %postun /sbin/ldconfig %insserv_cleanup +if [ $1 -eq 0 ]; then + f [ -f /etc/modprobe.d/unsupported-modules ] ; then + ed -i s@"allow_unsupported_modules 1"@"allow_unsupported_modules 0"@ /etc/modprobe.d/unsupported-modules + i +fi %postun -n gfs-utils %insserv_cleanup @@ -234,9 +232,9 @@ /var/adm/perl-modules/cluster %changelog -* Tue Nov 10 2009 Carsten Schoene <cs@linux-administrator.com> - 3.0.4-2 +* Tue Nov 10 2009 Carsten Schoene <cs@linux-administrator.com> - 3.0.4-3 - fix some small problems in init scripts -- change unsupported-modules flag in modprobe configuration when installing of gfs2-utils +- change unsupported-modules flag in modprobe configuration when installing of cluster package * Sun Nov 08 2009 Carsten Schoene <cs@linux-administrator.com> - 3.0.4-1 - initial build