]> git.pld-linux.org Git - packages/man-pages.git/commitdiff
- with man-db man* directory must be added, not removed from .so include directives
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 23 Apr 2012 21:20:37 +0000 (21:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    man-pages.spec -> 1.270

man-pages.spec

index cf63e2cdd569e80477815cf70b69b3d8a609de85..74b24da295a001b81f60ffa984bdee8b358b7c08 100644 (file)
@@ -392,9 +392,8 @@ rm -f man1/COPYING
 rm -f man*/README*
 
 for n in man{1,2,3,4,5,6,7,8,0p,1p,3p}/* */man{1,2,3,4,5,6,7,8,9}/* ; do
-       x=`echo $n | sed -e 's,^.*man\([^/]\)/.*,\1,'`
-       if head -n 1 $n| grep "^\.so man$x/" >/dev/null 2>&1 ; then
-               sed -i -e 's,\.so man./,.so ,' $n
+       if head -n 1 $n | grep "^\.so [^/]*$" >/dev/null 2>&1 ; then
+               sed -i -e 's,.so \([^\.]*\)\.\(.*\),.so man\2/\1.\2,' $n
        fi
 done
 
This page took 0.079908 seconds and 4 git commands to generate.