[PC-BSD Commits] r3350 - in pbibuild/modules/mldonkey: . overlay-dir

svn at pcbsd.org svn at pcbsd.org
Tue Jan 27 13:24:33 PST 2009


Author: kris
Date: 2009-01-27 13:24:33 -0800 (Tue, 27 Jan 2009)
New Revision: 3350

Modified:
   pbibuild/modules/mldonkey/overlay-dir/PBI.FirstRun.sh
   pbibuild/modules/mldonkey/overlay-dir/PBI.RemoveScript.sh
   pbibuild/modules/mldonkey/overlay-dir/PBI.SetupScript.sh
   pbibuild/modules/mldonkey/pbi.conf
Log:

Updated mldonkey, now 100% self-contained 



Modified: pbibuild/modules/mldonkey/overlay-dir/PBI.FirstRun.sh
===================================================================
--- pbibuild/modules/mldonkey/overlay-dir/PBI.FirstRun.sh	2009-01-27 21:17:50 UTC (rev 3349)
+++ pbibuild/modules/mldonkey/overlay-dir/PBI.FirstRun.sh	2009-01-27 21:24:33 UTC (rev 3350)
@@ -15,34 +15,3 @@
 # echo 'SETSTEPS: <num>' # Set the current progress of the progress bar
 # echo 'MSG: <text>' # Display this text above progress bar
 #########################################
-
-
-if [ -e "/usr/local/bin/mlgui" ]
-then
-    # Looks like FF is installed, ask if they want to remove the old one
-    ls -al /usr/local/bin/mlgui | grep Programs 2>/dev/null
-    if [ "$?" = "0" ]
-    then
-      kdialog --yesno "digiKam is already installed, do you wish to uninstall it?" 
-      if [ "$?" = "0" ]
-      then
-        FF="`ls -al /usr/local/bin/mlgui | cut -d '>' -f 2 | cut -d "/" -f 3`"
-        echo $FF | grep MLDonkey 2>/dev/null
-        if [ "$?" = "0" ]
-        then
-          PBIdelete -remove ${FF}
-        else
-          kdialog --sorry "MLDonkey could not be automatically removed... Please remove it in Add / Remove Programs and try again."
-          return 2
-        fi
-      else
-        kdialog --sorry "MLDonkey is already installed, it must be uninstalled before loading this PBI"
-        return 2
-      fi
-      
-    else
-      # Could not find a link to PBI folder
-      kdialog --sorry "MLDonkey is already installed, it must be uninstalled before loading this PBI"
-      return 2
-    fi
-fi 

Modified: pbibuild/modules/mldonkey/overlay-dir/PBI.RemoveScript.sh
===================================================================
--- pbibuild/modules/mldonkey/overlay-dir/PBI.RemoveScript.sh	2009-01-27 21:17:50 UTC (rev 3349)
+++ pbibuild/modules/mldonkey/overlay-dir/PBI.RemoveScript.sh	2009-01-27 21:24:33 UTC (rev 3350)
@@ -7,19 +7,7 @@
 # TIP: 'kdialog' should be used for user interaction. 
 #########################################
 
-rm -fR /usr/local/bin/mld_hash
-rm -fR /usr/local/bin/mldonkey_previewer
-rm -fR /usr/local/bin/mlgui
-rm -fR /usr/local/bin/mlguistarter
-rm -fR /usr/local/bin/mlnet
-rm -fR /usr/local/bin/mlnet+gui
-rm -fR /usr/local/bin/mlnet-real
-rm -fR /usr/local/bin/startmldonkey
-rm -fR /usr/local/etc/rc.d/mlnet
-rm -fR /usr/local/share/doc/mldonkey
-rm -fR /usr/local/share/examples/mldonkey
 
-
 if [ ! -z "$DISPLAY" ]
 then
  # Ask if we want to remove the user profiles

Modified: pbibuild/modules/mldonkey/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/mldonkey/overlay-dir/PBI.SetupScript.sh	2009-01-27 21:17:50 UTC (rev 3349)
+++ pbibuild/modules/mldonkey/overlay-dir/PBI.SetupScript.sh	2009-01-27 21:24:33 UTC (rev 3350)
@@ -14,16 +14,15 @@
 # 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/mld_hash /usr/local/bin/mld_hash
-ln -s /Programs/${PROGDIR}/.sbin/mldonkey_previewer /usr/local/bin/mldonkey_previewer
-ln -s /Programs/${PROGDIR}/.sbin/mlgui /usr/local/bin/mlgui
-ln -s /Programs/${PROGDIR}/.sbin/mlguistarter /usr/local/bin/mlguistarter
-ln -s /Programs/${PROGDIR}/.sbin/mlnet /usr/local/bin/mlnet
-ln -s /Programs/${PROGDIR}/.sbin/mlnet+gui /usr/local/bin/mlnet+gui
-ln -s /Programs/${PROGDIR}/.sbin/mlnet-real /usr/local/bin/mlnet-real
-ln -s /Programs/${PROGDIR}/.sbin/startmldonkey /usr/local/bin/startmldonkey
-ln -s /Programs/${PROGDIR}/etc/rc.d/mlnet /usr/local/etc/rc.d/mlnet
-ln -s /Programs/${PROGDIR}/share/doc/mldonkey /usr/local/share/doc/mldonkey
-ln -s /Programs/${PROGDIR}/share/examples/mldonkey /usr/local/share/examples/mldonkey
 
-echo "LAUNCHCLOSE: /usr/local/bin/startmldonkey"
+# Check which font config we want to link to
+if [ -d "/PCBSD/local/etc/fonts" ]
+then
+  ln -s /PCBSD/local/etc/fonts /Programs/${PROGDIR}/etc/fonts
+else
+  ln -s /usr/local/etc/fonts /Programs/${PROGDIR}/etc/fonts
+fi
+
+
+
+echo "LAUNCHCLOSE: /Programs/bin/startmldonkey"

Modified: pbibuild/modules/mldonkey/pbi.conf
===================================================================
--- pbibuild/modules/mldonkey/pbi.conf	2009-01-27 21:17:50 UTC (rev 3349)
+++ pbibuild/modules/mldonkey/pbi.conf	2009-01-27 21:24:33 UTC (rev 3350)
@@ -25,7 +25,7 @@
 PBIUPDATE="http://update.pbidir.com"
 
 # Other Ports we need built (One per line)
-OTHERPORT=""
+OTHERPORT="/usr/ports/x11-themes/qtcurve-gtk2"
 
 # Enter your custom make options here
 MAKEOPTS=""



More information about the Commits mailing list