From: Nathan Wagner Date: Sat, 8 Dec 2018 23:22:03 +0000 (+0000) Subject: add check for preserved libraries X-Git-Tag: v0.4.0~7 X-Git-Url: https://pd.if.org/git/?p=zpackage;a=commitdiff_plain;h=28ff0abf216c03268efedb6d43eb2d3e04c3e8aa add check for preserved libraries --- 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