[packages/adapter: 555/631] - adapter for php-common -> php(core)

glen glen at pld-linux.org
Mon Sep 12 20:20:57 CEST 2016


commit 0cbf6c2c98e537f52a3cc222ad6eb87d1b20bb36
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Aug 24 01:29:50 2012 +0300

    - adapter for php-common -> php(core)

 adapter.awk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index cc3b897..a1597d9 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -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);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list