]> git.pld-linux.org Git - packages/adapter.git/commitdiff
adapter: subst pecl packages as well
authorElan Ruusamäe <glen@delfi.ee>
Thu, 22 May 2014 20:13:13 +0000 (23:13 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 22 May 2014 20:13:13 +0000 (23:13 +0300)
adapter.awk

index 676bedce85eca7e52926eeb679ccc0d2308da1ad..abb0ddd3c1b16decd0785370f65451e52df51caa 100644 (file)
@@ -1965,6 +1965,10 @@ function replace_php_virtual_deps(field) {
                        sub(/^php-/, "php(", pkg)
                        sub(/$/, ")", pkg)
                        $2 = pkg
+               } else if (pkg ~ /^php-pecl-/) {
+                       sub(/^php-pecl-/, "php(", pkg)
+                       sub(/$/, ")", pkg)
+                       $2 = pkg
                }
        }
 
This page took 0.10431 seconds and 4 git commands to generate.