[PC-BSD Commits] r21097 - in pbi/modules/x11/wbar: . scripts

svn at pcbsd.org svn at pcbsd.org
Tue Jan 22 07:50:26 PST 2013


Author: kenmoore
Date: 2013-01-22 15:50:26 +0000 (Tue, 22 Jan 2013)
New Revision: 21097

Modified:
   pbi/modules/x11/wbar/pbi.conf
   pbi/modules/x11/wbar/scripts/post-install.sh
Log:
Fix up the post-install.sh script for x11/wbar and rebuild



Modified: pbi/modules/x11/wbar/pbi.conf
===================================================================
--- pbi/modules/x11/wbar/pbi.conf	2013-01-22 10:25:39 UTC (rev 21096)
+++ pbi/modules/x11/wbar/pbi.conf	2013-01-22 15:50:26 UTC (rev 21097)
@@ -7,5 +7,5 @@
 PBI_MKPORTBEFORE=""
 PBI_MKPORTAFTER=""
 PBI_MAKEOPTS=""
-PBI_BUILDKEY="02"; export PBI_BUILDKEY
+PBI_BUILDKEY="03"; export PBI_BUILDKEY
 export PBI_MAKEOPTS PBI_PROGNAME PBI_PROGWEB PBI_PROGAUTHOR PBI_MKPORTBEFORE PBI_MKPORTAFTER PBI_PROGICON PBI_MAKEPORT

Modified: pbi/modules/x11/wbar/scripts/post-install.sh
===================================================================
--- pbi/modules/x11/wbar/scripts/post-install.sh	2013-01-22 10:25:39 UTC (rev 21096)
+++ pbi/modules/x11/wbar/scripts/post-install.sh	2013-01-22 15:50:26 UTC (rev 21097)
@@ -4,10 +4,10 @@
 for i in `ls /home/`
 do
 
-dir=/home/$i/.wbar
-if [ ! -f $dir ]
-  echo "sample" > $dir
+dir=/home/${i}/.wbar
+if [ ! -f ${dir} ]; then
+  echo "sample" > ${dir}
 fi
-chmod 766 $dir
+chmod 766 ${dir}
 
 done



More information about the Commits mailing list