From 28ff0abf216c03268efedb6d43eb2d3e04c3e8aa Mon Sep 17 00:00:00 2001 From: Nathan Wagner Date: Sat, 8 Dec 2018 23:22:03 +0000 Subject: [PATCH] add check for preserved libraries --- schema/syncinfo.sql | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/schema/syncinfo.sql b/schema/syncinfo.sql index 6739cce..cbdffce 100644 --- a/schema/syncinfo.sql +++ b/schema/syncinfo.sql @@ -75,9 +75,6 @@ PC.status not in ('installed','removing','updating') ) */ --- every path in updating and removing is either remove or no-op --- not true, could be an update, but should be handled above - union select case @@ -114,7 +111,6 @@ where P.status = 'installing' --and PFC.path is not null - -- every path in updating and removing is either remove or no-op -- not true, could be an update, but should be handled above union @@ -144,6 +140,7 @@ not exists (select path from where PFI.path = PFR.path ) +and path not in (select path from preserve) -- paths in 'installed' or 'updated' are no-ops -- 2.40.0