[PC-BSD Commits] r3148 - in pbibuild/modules/drascula: . overlay-dir overlay-dir/bin
svn at pcbsd.org
svn at pcbsd.org
Sun Dec 28 08:20:50 PST 2008
Author: gonzalo
Date: 2008-12-28 08:20:50 -0800 (Sun, 28 Dec 2008)
New Revision: 3148
Modified:
pbibuild/modules/drascula/overlay-dir/PBI.SetupScript.sh
pbibuild/modules/drascula/overlay-dir/bin/drascula
pbibuild/modules/drascula/pbi.conf
Log:
Drascula modified
Modified: pbibuild/modules/drascula/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/drascula/overlay-dir/PBI.SetupScript.sh 2008-12-28 15:49:52 UTC (rev 3147)
+++ pbibuild/modules/drascula/overlay-dir/PBI.SetupScript.sh 2008-12-28 16:20:50 UTC (rev 3148)
@@ -42,8 +42,9 @@
if [ "${IDIOMA}" = "English" ]; then
IDIOMA="en"
fi
-chmod 775 /Programs/${PBIDIR}/bin/drascula
+# Save the right lang selected in the drascula
+sed -e "s,IDIOMA,${IDIOMA},g" /Programs/${PBIDIR}/bin/drascula > /tmp/drascula
+mv /tmp/drascula /Programs/${PBIDIR}/bin/drascula
+chmod 755 /Programs/${PBIDIR}/bin/drascula
chmod +x /Programs/${PBIDIR}/bin/drascula
-sed -e "s,IDIOMA,${IDIOMA},g" /Programs/${PBIDIR}/bin/drascula
-
echo "LAUNCHCLOSE: /usr/local/bin/drascula"
Modified: pbibuild/modules/drascula/overlay-dir/bin/drascula
===================================================================
--- pbibuild/modules/drascula/overlay-dir/bin/drascula 2008-12-28 15:49:52 UTC (rev 3147)
+++ pbibuild/modules/drascula/overlay-dir/bin/drascula 2008-12-28 16:20:50 UTC (rev 3148)
@@ -2,4 +2,7 @@
# ScummVM script
PROGNAME=CHANGEME
LANG=IDIOMA
+if [ "${LANG}" = "IDIOMA" ]; then
+ LANG="en"
+fi
/Programs/${PROGNAME}/bin/scummvm -q ${LANG} --savepath=/Programs/${PROGNAME}/game/savedgames --extrapath=/Programs/${PROGNAME}/game --config=/Programs/${PROGNAME}/game/drascularc -p /Programs/${PROGNAME}/game/drascula drascula
\ No newline at end of file
Modified: pbibuild/modules/drascula/pbi.conf
===================================================================
--- pbibuild/modules/drascula/pbi.conf 2008-12-28 15:49:52 UTC (rev 3147)
+++ pbibuild/modules/drascula/pbi.conf 2008-12-28 16:20:50 UTC (rev 3148)
@@ -32,6 +32,6 @@
# 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="04"
+BUILDKEY="05"
export PBIPORT MAKEOPTS PROGNAME PROGWEB PROGAUTHOR OTHERPORT PROGICON PROGLIBS PBIUPDATE BUILDKEY
More information about the Commits
mailing list