]> pd.if.org Git - zpackage/commitdiff
add check for preserved libraries
authorNathan Wagner <nw@hydaspes.if.org>
Sat, 8 Dec 2018 23:22:03 +0000 (23:22 +0000)
committerNathan Wagner <nw@hydaspes.if.org>
Sat, 8 Dec 2018 23:22:03 +0000 (23:22 +0000)
schema/syncinfo.sql

index 6739cce2a731ec28c51418da9e253a5fd803334b..cbdffce45ba2018b8e06ca70162bb806a5d717d0 100644 (file)
@@ -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