From e7ef788c23252506d7fc89221dc9761c23d15f6f Mon Sep 17 00:00:00 2001 From: HUMORCE Date: Wed, 21 Jun 2023 05:19:57 +0000 Subject: [PATCH] cygwin@2.926: Patch 24f0830 --- bucket/cygwin.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bucket/cygwin.json b/bucket/cygwin.json index f8b8c49ad1..b2cfe4fcff 100644 --- a/bucket/cygwin.json +++ b/bucket/cygwin.json @@ -17,6 +17,7 @@ "hash": "1738561e93ce1ce7c69553cf63096b8a1798ec6b46c64f798f747ba3e7e72982" } }, + "pre_install": "persist_data @{persist = @('packages', 'root')} $original_dir $persist_dir", "installer": { "args": [ "--no-admin", @@ -57,10 +58,7 @@ "root\\Cygwin-Terminal.ico" ] ], - "persist": [ - "packages", - "root" - ], + "pre_uninstall": "unlink_persist_data @{persist = @('packages', 'root')} $dir", "checkver": { "url": "https://cygwin.com/git/?p=cygwin-apps/setup.git;a=tags", "regex": ">release_([\\d.]+)<"