[PC-BSD Commits] r903 - pbibuild/modules/ktorrent/overlay-dir

svn at pcbsd.org svn at pcbsd.org
Fri Nov 16 11:25:07 PST 2007


Author: kris
Date: 2007-11-16 11:25:07 -0800 (Fri, 16 Nov 2007)
New Revision: 903

Modified:
   pbibuild/modules/ktorrent/overlay-dir/PBI.RemoveScript.sh
   pbibuild/modules/ktorrent/overlay-dir/PBI.SetupScript.sh
Log:

Added services links to PBI.* scripts



Modified: pbibuild/modules/ktorrent/overlay-dir/PBI.RemoveScript.sh
===================================================================
--- pbibuild/modules/ktorrent/overlay-dir/PBI.RemoveScript.sh	2007-11-16 19:21:51 UTC (rev 902)
+++ pbibuild/modules/ktorrent/overlay-dir/PBI.RemoveScript.sh	2007-11-16 19:25:07 UTC (rev 903)
@@ -31,3 +31,10 @@
  rm /usr/local/share/config.kcfg/${i}
 done
 
+# Remove the services links
+cd /Programs/${1}/share/services/
+for i in `ls`
+do
+ rm /usr/local/share/services/${i}
+done
+

Modified: pbibuild/modules/ktorrent/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/ktorrent/overlay-dir/PBI.SetupScript.sh	2007-11-16 19:21:51 UTC (rev 902)
+++ pbibuild/modules/ktorrent/overlay-dir/PBI.SetupScript.sh	2007-11-16 19:25:07 UTC (rev 903)
@@ -38,4 +38,11 @@
  ln -s /Programs/${PROGDIR}/share/config.kcfg/${i} /usr/local/share/config.kcfg/${i}
 done
 
+# Make links for services files
+cd /Programs/${PROGDIR}/share/services/
+for i in `ls`
+do
+ ln -s /Programs/${PROGDIR}/share/services/${i} /usr/local/share/services/${i}
+done
+
 echo "LAUNCHCLOSE: /usr/local/bin/ktorrent"



More information about the Commits mailing list