From: Scott Barninger Date: Fri, 14 Jan 2005 21:40:13 +0000 (+0000) Subject: Fix group_file var in post scripts. X-Git-Tag: Release-1.38.0~660 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=873df1ab53e5ad0d51638a4eb4b7f55f70335254;p=bacula%2Fbacula Fix group_file var in post scripts. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1804 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/platforms/mandrake/bacula.spec.in b/bacula/platforms/mandrake/bacula.spec.in index e80617128d..99ebd537a2 100644 --- a/bacula/platforms/mandrake/bacula.spec.in +++ b/bacula/platforms/mandrake/bacula.spec.in @@ -761,7 +761,7 @@ fi HAVE_BACULA=`grep %{daemon_group} %{group_file} 2>/dev/null` if [ -z $HAVE_BACULA ]; then %{groupadd} -r %{daemon_group} > /dev/null 2>&1 - echo "The group %{daemon_group} has been added to %{groupfile}." + echo "The group %{daemon_group} has been added to %{group_file}." echo "See the manual chapter Running Bacula for details." fi @@ -898,7 +898,7 @@ fi HAVE_BACULA=`grep %{daemon_group} %{group_file} 2>/dev/null` if [ -z $HAVE_BACULA ]; then %{groupadd} -r %{daemon_group} > /dev/null 2>&1 - echo "The group %{daemon_group} has been added to %{groupfile}." + echo "The group %{daemon_group} has been added to %{group_file}." echo "See the manual chapter Running Bacula for details." fi @@ -1068,7 +1068,7 @@ fi HAVE_BACULA=`cat %{group_file} | grep %{daemon_group} 2>/dev/null` if [ -z $HAVE_BACULA ]; then %{groupadd} -r %{daemon_group} > /dev/null 2>&1 - echo "The group %{daemon_group} has been added to %{groupfile}." + echo "The group %{daemon_group} has been added to %{group_file}." echo "See the manual chapter Running Bacula for details." fi @@ -1148,6 +1148,8 @@ echo "The database update scripts were installed to /etc/bacula/updatedb" %changelog +* Fri Jan 14 2005 D. Scott Barninger +- fix {group_file} variable in post scripts * Thu Dec 30 2004 D. Scott Barninger - add distribution checking and custom Distribution tag * Thu Dec 09 2004 D. Scott Barninger diff --git a/bacula/platforms/redhat/bacula.spec.in b/bacula/platforms/redhat/bacula.spec.in index e80617128d..99ebd537a2 100644 --- a/bacula/platforms/redhat/bacula.spec.in +++ b/bacula/platforms/redhat/bacula.spec.in @@ -761,7 +761,7 @@ fi HAVE_BACULA=`grep %{daemon_group} %{group_file} 2>/dev/null` if [ -z $HAVE_BACULA ]; then %{groupadd} -r %{daemon_group} > /dev/null 2>&1 - echo "The group %{daemon_group} has been added to %{groupfile}." + echo "The group %{daemon_group} has been added to %{group_file}." echo "See the manual chapter Running Bacula for details." fi @@ -898,7 +898,7 @@ fi HAVE_BACULA=`grep %{daemon_group} %{group_file} 2>/dev/null` if [ -z $HAVE_BACULA ]; then %{groupadd} -r %{daemon_group} > /dev/null 2>&1 - echo "The group %{daemon_group} has been added to %{groupfile}." + echo "The group %{daemon_group} has been added to %{group_file}." echo "See the manual chapter Running Bacula for details." fi @@ -1068,7 +1068,7 @@ fi HAVE_BACULA=`cat %{group_file} | grep %{daemon_group} 2>/dev/null` if [ -z $HAVE_BACULA ]; then %{groupadd} -r %{daemon_group} > /dev/null 2>&1 - echo "The group %{daemon_group} has been added to %{groupfile}." + echo "The group %{daemon_group} has been added to %{group_file}." echo "See the manual chapter Running Bacula for details." fi @@ -1148,6 +1148,8 @@ echo "The database update scripts were installed to /etc/bacula/updatedb" %changelog +* Fri Jan 14 2005 D. Scott Barninger +- fix {group_file} variable in post scripts * Thu Dec 30 2004 D. Scott Barninger - add distribution checking and custom Distribution tag * Thu Dec 09 2004 D. Scott Barninger diff --git a/bacula/platforms/suse/bacula.spec.in b/bacula/platforms/suse/bacula.spec.in index e80617128d..99ebd537a2 100644 --- a/bacula/platforms/suse/bacula.spec.in +++ b/bacula/platforms/suse/bacula.spec.in @@ -761,7 +761,7 @@ fi HAVE_BACULA=`grep %{daemon_group} %{group_file} 2>/dev/null` if [ -z $HAVE_BACULA ]; then %{groupadd} -r %{daemon_group} > /dev/null 2>&1 - echo "The group %{daemon_group} has been added to %{groupfile}." + echo "The group %{daemon_group} has been added to %{group_file}." echo "See the manual chapter Running Bacula for details." fi @@ -898,7 +898,7 @@ fi HAVE_BACULA=`grep %{daemon_group} %{group_file} 2>/dev/null` if [ -z $HAVE_BACULA ]; then %{groupadd} -r %{daemon_group} > /dev/null 2>&1 - echo "The group %{daemon_group} has been added to %{groupfile}." + echo "The group %{daemon_group} has been added to %{group_file}." echo "See the manual chapter Running Bacula for details." fi @@ -1068,7 +1068,7 @@ fi HAVE_BACULA=`cat %{group_file} | grep %{daemon_group} 2>/dev/null` if [ -z $HAVE_BACULA ]; then %{groupadd} -r %{daemon_group} > /dev/null 2>&1 - echo "The group %{daemon_group} has been added to %{groupfile}." + echo "The group %{daemon_group} has been added to %{group_file}." echo "See the manual chapter Running Bacula for details." fi @@ -1148,6 +1148,8 @@ echo "The database update scripts were installed to /etc/bacula/updatedb" %changelog +* Fri Jan 14 2005 D. Scott Barninger +- fix {group_file} variable in post scripts * Thu Dec 30 2004 D. Scott Barninger - add distribution checking and custom Distribution tag * Thu Dec 09 2004 D. Scott Barninger