[packages/adapter: 158/631] - remove .gz from manfiles

glen glen at pld-linux.org
Mon Sep 12 19:47:42 CEST 2016


commit 13defa790d4543ed0c29dd7a216093a85aacf58b
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Apr 15 15:58:23 2005 +0000

    - remove .gz from manfiles
    
    Changed files:
        adapter.awk -> 1.153

 adapter.awk | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 8c70e56..0b34d7c 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -766,6 +766,10 @@ function use_files_macros(	i, n, t, a)
 
 		gsub(/%verify\(not[^)]+\)/, s)
 	}
+
+	if (/%{_mandir}/) {
+		gsub("\.gz$", "")
+	}
 }
 
 function fill(ch, n, i) {
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list