Author: benm
Date: 2005-04-17 14:56:36 -0400 (Sun, 17 Apr 2005)
New Revision: 43161

Modified:
   trunk/release/website/mk-index.sh
Log:
test

Modified: trunk/release/website/mk-index.sh
===================================================================
--- trunk/release/website/mk-index.sh   2005-04-17 18:54:25 UTC (rev 43160)
+++ trunk/release/website/mk-index.sh   2005-04-17 18:56:36 UTC (rev 43161)
@@ -28,21 +28,24 @@
 
                        . $packagingdir/defs/$package
                        
-                       ships_package || continue
-                       get_destroot
-       
-                       [ -d $DEST_ROOT/$mod/*/ ] || continue
+                       if ships_package; then
+                               get_destroot
+               
+                               if [ ! -d $DEST_ROOT/$mod/*/ ]; then 
+                                                       
+                                       VERSION=`ls -d $DEST_ROOT/$mod/*/ -t -1 
| head -n1`
+                                               
+                                       for i in $VERSION/*.rpm; do
                                        
-                       VERSION=`ls -d $DEST_ROOT/$mod/*/ -t -1 | head -n1`
-                               
-                       for i in $VERSION/*.rpm; do
+                                               [[ $i == *.src.rpm ]] && 
continue
+                                               
+                                               base=`basename $i`
+                                               
+                                               echo "<ul><a 
href='../$i'>$base</a></ul>" >> $OUT
+                                       done
+                               fi
+                       fi
                        
-                               [[ $i == *.src.rpm ]] && continue
-                               
-                               base=`basename $i`
-                               
-                               echo "<ul><a href='../$i'>$base</a></ul>" >> 
$OUT
-                       done
                elif [ "x${line:0:1}" == "x!" ]; then
                        line=$(echo ${line:1})
                        

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to