]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix symlink creation in rpm gnome-console package (again).
authorScott Barninger <scott@barninger.com>
Fri, 18 Jun 2004 20:10:14 +0000 (20:10 +0000)
committerScott Barninger <scott@barninger.com>
Fri, 18 Jun 2004 20:10:14 +0000 (20:10 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1427 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/platforms/redhat/bacula.spec.in
bacula/platforms/suse/bacula.spec.in

index f15c706e1ee6b3724427424205bb4310c716041a..2e4b2a17fbb207b8b20ea2c8e0b18c82768cf551 100644 (file)
@@ -958,9 +958,8 @@ echo "The database update scripts were installed to /etc/bacula/updatedb"
 
 %post gconsole
 # add gnome-console consolehelper link
-if [ !  -f /usr/bin/gnome-console ]; then
-ln -s /usr/bin/consolehelper /usr/bin/gnome-console
-fi
+ln -sf /usr/bin/consolehelper /usr/bin/gnome-console
+
 
 %postun gconsole
 # remove gnome-console consolehelper link
@@ -968,6 +967,8 @@ rm -f /usr/bin/gnome-console
 %endif
 
 %changelog
+* Thu Jun 17 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
+- fix symlink creation in gconsole post install
 * Sat Jun 12 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
 - fixed error in gconsole post script
 * Fri Apr 30 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
index f15c706e1ee6b3724427424205bb4310c716041a..2e4b2a17fbb207b8b20ea2c8e0b18c82768cf551 100644 (file)
@@ -958,9 +958,8 @@ echo "The database update scripts were installed to /etc/bacula/updatedb"
 
 %post gconsole
 # add gnome-console consolehelper link
-if [ !  -f /usr/bin/gnome-console ]; then
-ln -s /usr/bin/consolehelper /usr/bin/gnome-console
-fi
+ln -sf /usr/bin/consolehelper /usr/bin/gnome-console
+
 
 %postun gconsole
 # remove gnome-console consolehelper link
@@ -968,6 +967,8 @@ rm -f /usr/bin/gnome-console
 %endif
 
 %changelog
+* Thu Jun 17 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
+- fix symlink creation in gconsole post install
 * Sat Jun 12 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
 - fixed error in gconsole post script
 * Fri Apr 30 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>