From 07f061e97741de24e9eeaf5b6d1f929cac5235ce Mon Sep 17 00:00:00 2001 From: Vatsal Gupta <40350810+gvatsal60@users.noreply.github.com> Date: Thu, 18 Sep 2025 12:43:25 +0000 Subject: [PATCH 1/2] Fix Update mindepth if not cleaned up --- .update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.update.sh b/.update.sh index dfeedfc..83056ed 100755 --- a/.update.sh +++ b/.update.sh @@ -142,7 +142,7 @@ update_snapd() { update_os_pkg() { case "${ADJUSTED_ID}" in debian) - if [ "$(find /var/lib/apt/lists/* -mindepth 1 -maxdepth 1 -type f 2>/dev/null | wc -l)" -eq 0 ]; then + if [ "$(find /var/lib/apt/lists/* -maxdepth 1 -type f 2>/dev/null | wc -l)" -eq 0 ]; then println "Updating ${PKG_MGR_CMD} based packages..." if ! ("${PKG_MGR_CMD}" update -y && "${PKG_MGR_CMD}" upgrade -y && From 1c3b086ffbce282d103732acd58e706b6138a651 Mon Sep 17 00:00:00 2001 From: Vatsal Gupta <40350810+gvatsal60@users.noreply.github.com> Date: Thu, 18 Sep 2025 18:18:50 +0530 Subject: [PATCH 2/2] Update .update.sh Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.update.sh b/.update.sh index 83056ed..c360f26 100755 --- a/.update.sh +++ b/.update.sh @@ -142,7 +142,7 @@ update_snapd() { update_os_pkg() { case "${ADJUSTED_ID}" in debian) - if [ "$(find /var/lib/apt/lists/* -maxdepth 1 -type f 2>/dev/null | wc -l)" -eq 0 ]; then + if [ "$(find /var/lib/apt/lists/ -maxdepth 1 -type f 2>/dev/null | wc -l)" -eq 0 ]; then println "Updating ${PKG_MGR_CMD} based packages..." if ! ("${PKG_MGR_CMD}" update -y && "${PKG_MGR_CMD}" upgrade -y &&