[PC-BSD Commits] r1074 - pbibuild/modules/kmldonkey/overlay-dir

svn at pcbsd.org svn at pcbsd.org
Thu Dec 27 13:41:37 PST 2007


Author: kris
Date: 2007-12-27 13:41:37 -0800 (Thu, 27 Dec 2007)
New Revision: 1074

Added:
   pbibuild/modules/kmldonkey/overlay-dir/kmldonkeyrc
   pbibuild/modules/kmldonkey/overlay-dir/mldonkeyrc
Modified:
   pbibuild/modules/kmldonkey/overlay-dir/PBI.SetupScript.sh
Log:

Made a few more fixes to the KMLDonkey module, so that the mlnet service
will start up much "nicer" now, without any user interaction required



Modified: pbibuild/modules/kmldonkey/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/kmldonkey/overlay-dir/PBI.SetupScript.sh	2007-12-27 20:45:31 UTC (rev 1073)
+++ pbibuild/modules/kmldonkey/overlay-dir/PBI.SetupScript.sh	2007-12-27 21:41:37 UTC (rev 1074)
@@ -93,4 +93,22 @@
   cp /Programs/${PROGDIR}/locale/${i}/${LANGFILE} /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE}
 done
 
+# Now add the default mldonkeyrc file to all kde profiles
+cd /home
+for i in `ls`
+do
+
+ if [ -e "${i}/.kde/share/config" ]
+ then
+   cp /Programs/${PROGDIR}/mldonkeyrc /home/${i}/.kde/share/config/
+   cp /Programs/${PROGDIR}/kmldonkeyrc /home/${i}/.kde/share/config/
+   chown ${i}:${i} /home/${i}/.kde/share/config/mldonkeyrc
+   chown ${i}:${i} /home/${i}/.kde/share/config/kmldonkeyrc
+   chmod 755 /home/${i}/.kde/share/config/mldonkeyrc
+   chmod 755 /home/${i}/.kde/share/config/kmldonkeyrc
+   mkdir /home/${i}/Downloads
+ fi
+
+done
+
 echo "LAUNCHCLOSE: /usr/local/bin/kmldonkey.sh"

Added: pbibuild/modules/kmldonkey/overlay-dir/kmldonkeyrc

Added: pbibuild/modules/kmldonkey/overlay-dir/mldonkeyrc



More information about the Commits mailing list