[PC-BSD Commits] r1882 - pbibuild/modules/winrar/overlay-dir

svn at pcbsd.org svn at pcbsd.org
Fri May 9 12:14:52 PDT 2008


Author: kris
Date: 2008-05-09 12:14:52 -0700 (Fri, 09 May 2008)
New Revision: 1882

Modified:
   pbibuild/modules/winrar/overlay-dir/PBI.SetupScript.sh
Log:

Updated WinRAR to only grab a real user to chown with



Modified: pbibuild/modules/winrar/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/winrar/overlay-dir/PBI.SetupScript.sh	2008-05-09 15:43:40 UTC (rev 1881)
+++ pbibuild/modules/winrar/overlay-dir/PBI.SetupScript.sh	2008-05-09 19:14:52 UTC (rev 1882)
@@ -17,7 +17,7 @@
 ln -s /Programs/${PROGDIR}/.sbin/winrar /usr/local/bin/winrar
 chmod -R 777 /Programs/${PROGDIR}/WINRAR
 chmod +x /Programs/${PROGDIR}/bin/winrar
-USER=`who | grep :0 | cut -f 1 -d " "`
+USER=`who | grep ' :0 ' | cut -f 1 -d " "`
 chown ${USER} /Programs/${PROGDIR}/WINRAR
 #copy the new winrar.desktop entry to all users
   cd /home



More information about the Commits mailing list