[PC-BSD Commits] r3173 - pbibuild/modules/drascula/overlay-dir
svn at pcbsd.org
svn at pcbsd.org
Mon Jan 5 12:14:43 PST 2009
Author: gonzalo
Date: 2009-01-05 12:14:42 -0800 (Mon, 05 Jan 2009)
New Revision: 3173
Modified:
pbibuild/modules/drascula/overlay-dir/PBI.RemoveScript.sh
pbibuild/modules/drascula/overlay-dir/PBI.SetupScript.sh
Log:
drascula adapted
Modified: pbibuild/modules/drascula/overlay-dir/PBI.RemoveScript.sh
===================================================================
--- pbibuild/modules/drascula/overlay-dir/PBI.RemoveScript.sh 2009-01-05 19:38:03 UTC (rev 3172)
+++ pbibuild/modules/drascula/overlay-dir/PBI.RemoveScript.sh 2009-01-05 20:14:42 UTC (rev 3173)
@@ -6,4 +6,3 @@
# ${2} is the username of person performing the deletion.
# TIP: 'kdialog' should be used for user interaction.
#########################################
-rm -fR /usr/local/bin/drascula
\ No newline at end of file
Modified: pbibuild/modules/drascula/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/drascula/overlay-dir/PBI.SetupScript.sh 2009-01-05 19:38:03 UTC (rev 3172)
+++ pbibuild/modules/drascula/overlay-dir/PBI.SetupScript.sh 2009-01-05 20:14:42 UTC (rev 3173)
@@ -14,12 +14,13 @@
# echo 'SETSTEPS: <num>' # Set the current progress of the progress bar
# echo 'MSG: <text>' # Display this text above progress bar
#########################################
-ln -s /Programs/${PROGDIR}/.sbin/drascula /usr/local/bin/drascula
echo 'MSG: Making needed paths...'
mkdir /Programs/${PROGDIR}/game/savedgames
chmod 775 -fR /Programs/${PROGDIR}/game
-echo 'MSG: Descompressing drascula...'
-lzma d -so | tar xvpf - /Programs/${PROGDIR}/game/drascula.lzma
+echo 'MSG: Decompressing drascula...'
+cd /Programs/${PROGDIR}/game
+lzma d -so /Programs/${PROGDIR}/game/drascula.lzma | tar xvpf -
+rm /Programs/${PROGDIR}/game/drascula.lzma
echo 'MSG: Select language...'
IDIOMA=$(kdialog --combobox "Select a language:" "English" "Spanish" "French" "German" "Italian")
echo "${IDIOMA}"
@@ -47,4 +48,4 @@
mv /tmp/drascula /Programs/${PROGDIR}/bin/drascula
chmod 755 /Programs/${PROGDIR}/bin/drascula
chmod +x /Programs/${PROGDIR}/bin/drascula
-echo "LAUNCHCLOSE: /usr/local/bin/drascula"
+echo "LAUNCHCLOSE: /Programs/bin/drascula"
More information about the Commits
mailing list