]> git.pld-linux.org Git - packages/adapter.git/commitdiff
- adapter for php-common -> php(core)
authorElan Ruusamäe <glen@delfi.ee>
Thu, 23 Aug 2012 22:29:50 +0000 (01:29 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 23 Aug 2012 22:29:50 +0000 (01:29 +0300)
adapter.awk

index cc3b897985f20954af6b9612e28aee7a761845a8..a1597d9cec739c24fc8912aa2a6753c355719569 100644 (file)
@@ -1874,14 +1874,14 @@ function replace_php_virtual_deps(field) {
                }
        }
 
-       if (pkg ~/^php$/) {
-               $2 = "webserver(php)";
+       if (pkg == "php" || pkg == "php-common") {
+               $2 = "php(core)";
                if ($4 ~ /^[0-9]:/) {
                        $4 = substr($4, 3);
                }
        }
 
-       if (pkg ~/^php4$/) {
+       if (pkg == "php4") {
                $2 = "webserver(php)";
                if ($4 ~ /^[0-9]:/) {
                        $4 = substr($4, 3);
This page took 0.423425 seconds and 4 git commands to generate.