[PC-BSD Commits] r3234 - in pbibuild/modules/bmpx: . overlay-dir
svn at pcbsd.org
svn at pcbsd.org
Mon Jan 12 13:30:22 PST 2009
Author: kris
Date: 2009-01-12 13:30:21 -0800 (Mon, 12 Jan 2009)
New Revision: 3234
Modified:
pbibuild/modules/bmpx/overlay-dir/PBI.SetupScript.sh
pbibuild/modules/bmpx/pbi.conf
Log:
Build bmpx again with a fix to remove old config data, since it causes program crashes in a lot of cases
Modified: pbibuild/modules/bmpx/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/bmpx/overlay-dir/PBI.SetupScript.sh 2009-01-12 21:26:03 UTC (rev 3233)
+++ pbibuild/modules/bmpx/overlay-dir/PBI.SetupScript.sh 2009-01-12 21:30:21 UTC (rev 3234)
@@ -23,5 +23,16 @@
ln -s /usr/local/etc/fonts /Programs/${PROGDIR}/etc/fonts
fi
+# bmpx tends to crash if an old .local/share/bmpx folder exists which was built different
+USERS="`cut -d ':' -f 1 /etc/passwd | grep -v '^#'`"
+for i in ${USERS}
+do
+ HOMEDIR="`cat /etc/passwd | grep ^${i}: | cut -d ":" -f 6`"
+ if [ -d "${HOMEDIR}/.local/share/bmpx" ]
+ then
+ rm -rf ${HOMEDIR}/.local/share/bmpx
+ fi
+done
+
echo "LAUNCHCLOSE: /Programs/bin/beep-media-player-2-bin"
Modified: pbibuild/modules/bmpx/pbi.conf
===================================================================
--- pbibuild/modules/bmpx/pbi.conf 2009-01-12 21:26:03 UTC (rev 3233)
+++ pbibuild/modules/bmpx/pbi.conf 2009-01-12 21:30:21 UTC (rev 3234)
@@ -41,7 +41,7 @@
# Build Key - Change this to anything else to trigger a rebuild
# - The rebuild will take place even if port is still the same ver
-BUILDKEY="16"
+BUILDKEY="01"
# Don't build this PBI on certian processors (i386 / amd64)
ARCHIGNORE="amd64" ; export ARCHIGNORE
More information about the Commits
mailing list