From 4dcc584a0b80f5dbe065910b7b2b30c6e0d84205 Mon Sep 17 00:00:00 2001 From: Scott Barninger Date: Sun, 12 Sep 2004 14:12:36 +0000 Subject: [PATCH] Document group addition in rpm packages. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1594 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/platforms/redhat/bacula.spec.in | 10 ++++++++++ bacula/platforms/suse/bacula.spec.in | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/bacula/platforms/redhat/bacula.spec.in b/bacula/platforms/redhat/bacula.spec.in index bf74e917b0..cb71b45c7e 100644 --- a/bacula/platforms/redhat/bacula.spec.in +++ b/bacula/platforms/redhat/bacula.spec.in @@ -662,6 +662,8 @@ 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 "See the manual chapter Running Bacula for details." fi %preun mysql @@ -786,6 +788,8 @@ 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 "See the manual chapter Running Bacula for details." fi %preun sqlite @@ -882,6 +886,8 @@ 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 "See the manual chapter Running Bacula for details." fi @@ -925,6 +931,8 @@ 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 "See the manual chapter Running Bacula for details." fi %preun client @@ -994,6 +1002,8 @@ echo "The database update scripts were installed to /etc/bacula/updatedb" %changelog +* Sun Sep 12 2004 D. Scott Barninger +- add documentation to console for groupadd * Sat Sep 04 2004 D. Scott Barninger - add support for running daemons as root.bacula - correct for change in location of floppy rescue files in 1.35.2 diff --git a/bacula/platforms/suse/bacula.spec.in b/bacula/platforms/suse/bacula.spec.in index bf74e917b0..cb71b45c7e 100644 --- a/bacula/platforms/suse/bacula.spec.in +++ b/bacula/platforms/suse/bacula.spec.in @@ -662,6 +662,8 @@ 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 "See the manual chapter Running Bacula for details." fi %preun mysql @@ -786,6 +788,8 @@ 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 "See the manual chapter Running Bacula for details." fi %preun sqlite @@ -882,6 +886,8 @@ 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 "See the manual chapter Running Bacula for details." fi @@ -925,6 +931,8 @@ 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 "See the manual chapter Running Bacula for details." fi %preun client @@ -994,6 +1002,8 @@ echo "The database update scripts were installed to /etc/bacula/updatedb" %changelog +* Sun Sep 12 2004 D. Scott Barninger +- add documentation to console for groupadd * Sat Sep 04 2004 D. Scott Barninger - add support for running daemons as root.bacula - correct for change in location of floppy rescue files in 1.35.2 -- 2.39.5