Skip to content

Fix Update mindepth if not cleaned up - #90

Merged
gvatsal60 merged 2 commits into
masterfrom
fix/min_depth_VG
Sep 18, 2025
Merged

gvatsal60 merged 2 commits into
masterfrom
fix/min_depth_VG

Conversation

@gvatsal60

Copy link
Copy Markdown
Owner

This pull request makes a minor adjustment to the logic for detecting whether the APT package lists are empty on Debian systems. The change simplifies the find command used in the update_os_pkg() function to avoid unnecessary directory traversal.

  • Simplified the find command in the Debian case of update_os_pkg() by removing the -mindepth 1 argument, ensuring it correctly counts files at the top level of /var/lib/apt/lists/.

@gvatsal60 gvatsal60 self-assigned this Sep 18, 2025
@gvatsal60
gvatsal60 requested a review from Copilot September 18, 2025 12:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request fixes the logic for detecting empty APT package lists on Debian systems by simplifying the find command used in the update_os_pkg() function.

  • Removed the -mindepth 1 argument from the find command to properly count files at the top level of /var/lib/apt/lists/

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread .update.sh Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@gvatsal60
gvatsal60 requested a review from Copilot September 18, 2025 12:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@gvatsal60
gvatsal60 merged commit f93c838 into master Sep 18, 2025
8 checks passed
@gvatsal60
gvatsal60 deleted the fix/min_depth_VG branch September 18, 2025 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants