poldek: poldek/tests/sh/lib/vftest.sh, poldek/tests/sh/lib/vftest-...

mis mis at pld-linux.org
Sat Jun 23 20:30:10 CEST 2007


Author: mis                          Date: Sat Jun 23 18:30:10 2007 GMT
Module: poldek                        Tag: HEAD
---- Log message:
- symlink packages

---- Files affected:
poldek/poldek/tests/sh/lib:
   vftest.sh (1.1 -> 1.2) , vftest-fetch.conf (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: poldek/poldek/tests/sh/lib/vftest.sh
diff -u poldek/poldek/tests/sh/lib/vftest.sh:1.1 poldek/poldek/tests/sh/lib/vftest.sh:1.2
--- poldek/poldek/tests/sh/lib/vftest.sh:1.1	Sat Jun 23 17:25:21 2007
+++ poldek/poldek/tests/sh/lib/vftest.sh	Sat Jun 23 20:30:05 2007
@@ -18,7 +18,12 @@
     exit 1
 fi
 
-cp $src $dest
-
+# Symlink packages, copy other files
+if echo $src | grep -qE '.rpm$'; then
+    ln -sf $src $dest
+else
+    cp $src $dest
+fi
 
+# display toc 
 #if echo $src | grep -q toc; then zcat $src; fi

================================================================
Index: poldek/poldek/tests/sh/lib/vftest-fetch.conf
diff -u poldek/poldek/tests/sh/lib/vftest-fetch.conf:1.1 poldek/poldek/tests/sh/lib/vftest-fetch.conf:1.2
--- poldek/poldek/tests/sh/lib/vftest-fetch.conf:1.1	Sat Jun 23 17:25:21 2007
+++ poldek/poldek/tests/sh/lib/vftest-fetch.conf	Sat Jun 23 20:30:05 2007
@@ -1,3 +1,3 @@
 [fetcher]
 proto = test
-cmd   = vftest.sh %P %d
+cmd   = vftest.sh %P %D
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/poldek/poldek/tests/sh/lib/vftest.sh?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/poldek/poldek/tests/sh/lib/vftest-fetch.conf?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list