[packages/adapter: 70/631] - added 2 more recognized extensions (pamd,logrotate) - fixes problem with logrotate.spec
glen
glen at pld-linux.org
Mon Sep 12 19:40:20 CEST 2016
commit dac4e14261d1d0f600fe75ce8f68adab294cbe75
Author: Sebastian Zagrodzki <sebek at zagrodzki.net>
Date: Wed Aug 9 20:28:30 2000 +0000
- added 2 more recognized extensions (pamd,logrotate) - fixes problem with
logrotate.spec
Changed files:
adapter.awk -> 1.70
adapter.awk | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 5b71a17..b4cb75d 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -349,6 +349,15 @@ preamble == 1 {
url[n+1] = ".bz2" url[n+1]
sub(/\.bz2$/,"",url[n])
}
+ if (url[n] ~ /\.logrotate$/) {
+ url[n+1] = ".logrotate" url[n+1]
+ sub(/\.logrotate$/,"",url[n])
+ }
+ if (url[n] ~ /\.pamd$/) {
+ url[n+1] = ".pamd" url[n+1]
+ sub(/\.pamd$/,"",url[n])
+ }
+
filename = url[n]
url[n] = fixedsub(name, "%{name}", url[n])
if (field ~ /source/)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list