From da3be0d789d9e351cf36a0041d1023c043d4f8e6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 13 Jun 2026 23:34:42 +0000 Subject: [PATCH] Fix conflict markers in install_and_cache_pkgs.sh: use PR's ls approach for all dpkg info files --- install_and_cache_pkgs.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/install_and_cache_pkgs.sh b/install_and_cache_pkgs.sh index a1a802d..006fda7 100755 --- a/install_and_cache_pkgs.sh +++ b/install_and_cache_pkgs.sh @@ -105,16 +105,11 @@ for installed_package in ${installed_packages}; do # and all dpkg metadata (info files) to Tar. tar -cf "${cache_filepath}" -C / --verbatim-files-from --files-from <( { dpkg -L "${package_name}" && -<<<<<<< HEAD - { get_install_script_filepath "/" "${package_name}" "preinst" ; - get_install_script_filepath "/" "${package_name}" "postinst" ; } ; } | -======= # Include all dpkg info files for this package (list, md5sums, # conffiles, triggers, preinst, postinst, prerm, postrm, etc.) # so dpkg recognizes the package after cache restore. ls -1 /var/lib/dpkg/info/${package_name}.* 2>/dev/null && ls -1 /var/lib/dpkg/info/${package_name}:*.* 2>/dev/null ; } | ->>>>>>> origin/pr/190 while IFS= read -r f; do if test -f "${f}" -o -L "${f}"; then get_tar_relpath "${f}"