[PC-BSD Commits] r3672 - pbibuild/modules/bacula-bat/overlay-dir

svn at pcbsd.org svn at pcbsd.org
Thu Mar 26 23:39:55 PST 2009


Author: silvers
Date: 2009-03-27 00:39:55 -0700 (Fri, 27 Mar 2009)
New Revision: 3672

Modified:
   pbibuild/modules/bacula-bat/overlay-dir/PBI.SetupScript.sh
Log:
replace ${BASE} with value of ${BASE} in PBI.RemoveScript2.sh

Modified: pbibuild/modules/bacula-bat/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/bacula-bat/overlay-dir/PBI.SetupScript.sh	2009-03-27 07:39:36 UTC (rev 3671)
+++ pbibuild/modules/bacula-bat/overlay-dir/PBI.SetupScript.sh	2009-03-27 07:39:55 UTC (rev 3672)
@@ -32,4 +32,7 @@
 ln -s /Programs/${PROGDIR}/man/man1/bat.1.gz ${BASE}/man/man1/bat.1.gz
 ln -s /Programs/${PROGDIR}/etc/bat.conf.sample ${BASE}/etc/bat.conf.sample
 ln -s /Programs/${PROGDIR}/share/pixmaps/* ${BASE}/share/pixmaps/
+# $BASE is not set when removing the program afterwards
+sed -i.bak "s|=\${BASE}/|=${BASE}/|g" /Programs/${PROGDIR}/PBI.RemoveScript2.sh && \
+rm /Programs/${PROGDIR}/PBI.RemoveScript2.sh.bak
 echo "LAUNCHCLOSE: /Programs/${PROGDIR}/.sbin/bat-kommander.sh"



More information about the Commits mailing list