From 8d9f077c96ba238db69cbaa16a13352e9961ee75 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 7 Aug 2015 21:21:10 +0100 Subject: Replace license import --- gentoobrowse/console/packagelicenses.xml | 31 +++++-------------------------- 1 file changed, 5 insertions(+), 26 deletions(-) diff --git a/gentoobrowse/console/packagelicenses.xml b/gentoobrowse/console/packagelicenses.xml index 7a8133d..80777a7 100644 --- a/gentoobrowse/console/packagelicenses.xml +++ b/gentoobrowse/console/packagelicenses.xml @@ -1,36 +1,15 @@ - + + a.name IN (SELECT o.pathparts[2] FROM files o WHERE o.cachedat IS NULL OR o.cachedat != o.moddate) - SELECT f.filename, ft.searchroot || f.filename AS path - FROM files f, filetypes ft + SELECT f.pathparts[2] AS name, PG_READ_FILE(f.filename) legalbumph + FROM files f WHERE (f.cachedat IS NULL OR f.cachedat != f.moddate) - AND f.filetypeid = ft.filetypeid AND filename NOT LIKE '%.pdf' - AND ft.filetypeid = 7 + AND f.filetypeid = 7 - - - - - - - - - - - a.name IN (SELECT o.filename FROM files o WHERE o.cachedat IS NULL OR o.cachedat != o.moddate) - - - - - - - - - - -- cgit v1.2.3