SOURCES: browser-plugins-update.sh - allow symlinks in plugindirs

glen glen at pld-linux.org
Wed Jan 10 01:40:24 CET 2007


Author: glen                         Date: Wed Jan 10 00:40:24 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- allow symlinks in plugindirs

---- Files affected:
SOURCES:
   browser-plugins-update.sh (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/browser-plugins-update.sh
diff -u SOURCES/browser-plugins-update.sh:1.4 SOURCES/browser-plugins-update.sh:1.5
--- SOURCES/browser-plugins-update.sh:1.4	Tue Oct 31 00:39:41 2006
+++ SOURCES/browser-plugins-update.sh	Wed Jan 10 01:40:19 2007
@@ -104,11 +104,14 @@
 install_plugins() {
 	# link new plugins
 	for plugindir in $plugindirs; do
+		echo >&3
+		echo >&3 "check $plugindir"
+
 		# skip non-existing plugindirs
 		[ -d "$plugindir" ] || continue
 
 		cd "$plugindir"
-		find -type f | while read line; do
+		find -type f -o -type l | while read line; do
 			pluginfile="${line#./}"
 			echo >&3 "pluginfile: $pluginfile"
 			for browser in $browsers; do
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/browser-plugins-update.sh?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list