[PC-BSD Commits] r2735 - in pbibuild/modules/iexplorer6/overlay-dir: . bin

svn at pcbsd.org svn at pcbsd.org
Tue Sep 9 12:52:26 PDT 2008


Author: gonzalo
Date: 2008-09-09 12:52:25 -0700 (Tue, 09 Sep 2008)
New Revision: 2735

Modified:
   pbibuild/modules/iexplorer6/overlay-dir/PBI.RemoveScript.sh
   pbibuild/modules/iexplorer6/overlay-dir/PBI.SetupScript.sh
   pbibuild/modules/iexplorer6/overlay-dir/bin/iexplorer6
Log:
now ie6 works for more users

Modified: pbibuild/modules/iexplorer6/overlay-dir/PBI.RemoveScript.sh
===================================================================
--- pbibuild/modules/iexplorer6/overlay-dir/PBI.RemoveScript.sh	2008-09-09 19:47:45 UTC (rev 2734)
+++ pbibuild/modules/iexplorer6/overlay-dir/PBI.RemoveScript.sh	2008-09-09 19:52:25 UTC (rev 2735)
@@ -6,4 +6,12 @@
 # ${2} is the username of person performing the deletion.
 # TIP: 'kdialog' should be used for user interaction. 
 #########################################
-rm  /usr/local/bin/iexplorer6
\ No newline at end of file
+rm  /usr/local/bin/iexplorer6
+cd /home
+for i in `ls`
+do
+if [ -e "/home/${i}/.ie6" ]
+then
+rm -rf /home/${i}/.ie6
+fi
+done
\ No newline at end of file

Modified: pbibuild/modules/iexplorer6/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/iexplorer6/overlay-dir/PBI.SetupScript.sh	2008-09-09 19:47:45 UTC (rev 2734)
+++ pbibuild/modules/iexplorer6/overlay-dir/PBI.SetupScript.sh	2008-09-09 19:52:25 UTC (rev 2735)
@@ -15,59 +15,6 @@
 # echo 'MSG: <text>' # Display this text above progress bar
 #########################################
 ln -s /Programs/${PROGDIR}/.sbin/iexplorer6 /usr/local/bin/iexplorer6
-cd /Programs/${PROGDIR}/msttf/
-#CABEXTRACT MSFONTS
-/Programs/${PROGDIR}/bin/cabextract arial32.exe
-	#ARIAL.EXE
-	mv /Programs/${PROGDIR}/msttf/Arial.TTF Arialn.ttf
-	mv /Programs/${PROGDIR}/msttf/Ariali.TTF Arialni.ttf
-	mv /Programs/${PROGDIR}/msttf/Arialbd.TTF Arialnbd.ttf
-	mv /Programs/${PROGDIR}/msttf/Arialbi.TTF Arialnbi.ttf
-/Programs/${PROGDIR}/bin/cabextract courie32.exe
-	#COURIER.EXE
-	mv /Programs/${PROGDIR}/msttf/cour.ttf cour.ttf
-	mv /Programs/${PROGDIR}/msttf/courbd.ttf courbd.ttf
-	mv /Programs/${PROGDIR}/msttf/courbi.ttf courbi.ttf
-	mv /Programs/${PROGDIR}/msttf/couri.ttf couri.ttf
-/Programs/${PROGDIR}/bin/cabextract comic32.exe
-	#COMIC.EXE
-	mv /Programs/${PROGDIR}/msttf/Comic.TTF comic.ttf
-	mv /Programs/${PROGDIR}/msttf/Comicbd.TTF comicbd.ttf
-/Programs/${PROGDIR}/bin/cabextract georgi32.exe
-	#GEORGIA.EXE
-	mv /Programs/${PROGDIR}/msttf/Georgia.TTF georgia.ttf
-	mv /Programs/${PROGDIR}/msttf/Georgiaz.TTF georgiaz.ttf
-	mv /Programs/${PROGDIR}/msttf/Georgiab.TTF georgiab.ttf
-	mv /Programs/${PROGDIR}/msttf/Georgiai.TTF georgiai.ttf
-/Programs/${PROGDIR}/bin/cabextract times32.exe
-	#TIMES NEW ROMAN.EXE
-	mv /Programs/${PROGDIR}/msttf/Times.TTF times.ttf
-	mv /Programs/${PROGDIR}/msttf/Timesbd.TTF timesbd.ttf
-	mv /Programs/${PROGDIR}/msttf/Timesbi.TTF timesbi.ttf
-	mv /Programs/${PROGDIR}/msttf/Timesi.TTF timesi.ttf
-/Programs/${PROGDIR}/bin/cabextract trebuc32.exe
-	#TREBUCHET.EXE
-	mv /Programs/${PROGDIR}/msttf/trebuc.ttf trebuc.ttf
-	mv /Programs/${PROGDIR}/msttf/trebucit.ttf trebucit.ttf
-	mv /Programs/${PROGDIR}/msttf/trebucbi.ttf trebucbi.ttf
-	mv /Programs/${PROGDIR}/msttf/Trebucbd.ttf trebucbd.ttf
-/Programs/${PROGDIR}/bin/cabextract verdan32.exe
-	#VERDANA.EXE
-	mv /Programs/${PROGDIR}/msttf/Verdana.TTF verdana.ttf
-	mv /Programs/${PROGDIR}/msttf/Verdanab.TTF verdanab.ttf
-	mv /Programs/${PROGDIR}/msttf/Verdanai.TTF verdanai.ttf
-	mv /Programs/${PROGDIR}/msttf/Verdanaz.TTF verdanaz.ttf
-/Programs/${PROGDIR}/bin/cabextract wd97vwr32.exe
-/Programs/${PROGDIR}/bin/cabextract webdin32.exe
-	#WEBDINGS.EXE
-	mv /Programs/${PROGDIR}/msttf/Webdings.TTF webdings.ttf
-#COPY ALL TO WINDOWS/FONT
-mv /Programs/${PROGDIR}/msttf/*.TTF /Programs/${PROGDIR}/ie6/drive_c/windows/fonts/
-mv /Programs/${PROGDIR}/msttf/*.ttf /Programs/${PROGDIR}/ie6/drive_c/windows/fonts/
-rm -fR /Programs/${PROGDIR}/msttf
-rm -fR /Programs/${PROGDIR}/bin/cabextract
 chmod -R 777 /Programs/${PROGDIR}/ie6
 chmod +x /Programs/${PROGDIR}/bin/iexplorer6
-USER=`who | grep :0 | cut -f 1 -d " "`
-chown ${USER} /Programs/${PROGDIR}/ie6
 echo "LAUNCHCLOSE: /usr/local/bin/iexplorer6"

Modified: pbibuild/modules/iexplorer6/overlay-dir/bin/iexplorer6
===================================================================
--- pbibuild/modules/iexplorer6/overlay-dir/bin/iexplorer6	2008-09-09 19:47:45 UTC (rev 2734)
+++ pbibuild/modules/iexplorer6/overlay-dir/bin/iexplorer6	2008-09-09 19:52:25 UTC (rev 2735)
@@ -1,5 +1,16 @@
 #!/bin/sh
-PROGDIR="IExplorer61.1.4"
-cd
-export WINEPREFIX="/Programs/${PROGDIR}/ie6"
-/Programs/${PROGDIR}/bin/wine "/Programs/${PROGDIR}/ie6/drive_c/Program Files/Internet Explorer/IEXPLORE.EXE" "$@"
+VER="1.1.4"
+PROGDIR="IExplorer6${VER}"
+
+if [ ! -e "${HOME}/.ie6" ]
+then
+  mkdir ${HOME}/.ie6
+  ln -s /Programs/${PROGDIR}/ie6/drive_c ${HOME}/.ie6/drive_c
+else
+  rm ${HOME}/.ie6/drive_c 
+  ln -s /Programs/${PROGDIR}/ie6/drive_c ${HOME}/.ie6/drive_c
+fi
+
+export WINEPREFIX="${HOME}/.ie6"
+/Programs/${PROGDIR}/bin/wine "${HOME}/.ie6/drive_c/Program Files/Internet Explorer/iexplore.exe" "$@"
+



More information about the Commits mailing list