[PC-BSD Commits] r1264 - pbibuild/modules/msn7/overlay-dir

svn at pcbsd.org svn at pcbsd.org
Mon Jan 28 07:02:32 PST 2008


Author: gonzalo
Date: 2008-01-28 07:02:32 -0800 (Mon, 28 Jan 2008)
New Revision: 1264

Removed:
   pbibuild/modules/msn7/overlay-dir/dotwine.tar
   pbibuild/modules/msn7/overlay-dir/wine-theme.reg
Modified:
   pbibuild/modules/msn7/overlay-dir/PBI.SetupScript.sh
Log:
Chown problem fixed

Modified: pbibuild/modules/msn7/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/msn7/overlay-dir/PBI.SetupScript.sh	2008-01-28 14:57:46 UTC (rev 1263)
+++ pbibuild/modules/msn7/overlay-dir/PBI.SetupScript.sh	2008-01-28 15:02:32 UTC (rev 1264)
@@ -68,12 +68,6 @@
 rm -fR /Programs/${PROGDIR}/bin/cabextract
 chmod -R 777 /Programs/${PROGDIR}/msn7
 chmod +x /Programs/${PROGDIR}/bin/msn7
-cd /home
-for i in `ls`
-do
-  mkdir ${i}/.wine >/dev/null 2>/dev/null
-  tar xvf /Programs/${PROGDIR}/dotwine.tar -C ${i}/.wine/
-  chown -R ${i}:${i} ${i}/.wine
-done
-
+USER=`who | grep :0 | cut -f 1 -d " "`
+chown ${USER} /Programs/${PROGDIR}/msn7
 echo "LAUNCHCLOSE: /usr/local/bin/msn7"

Deleted: pbibuild/modules/msn7/overlay-dir/dotwine.tar

Deleted: pbibuild/modules/msn7/overlay-dir/wine-theme.reg



More information about the Commits mailing list