Skip to content

Commit b376556

Browse files
gvatsal60Copilot
andauthored
Update .update.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 42e7a94 commit b376556

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ update_snapd() {
153153
update_os_pkg() {
154154
case "${ADJUSTED_ID}" in
155155
debian)
156-
if [ "$(find /var/lib/apt/lists/* -maxdepth 1 -type f 2>/dev/null | wc -l)" -eq 0 ]; then
156+
if [ "$(find /var/lib/apt/lists/ -maxdepth 1 -type f 2>/dev/null | wc -l)" -eq 0 ]; then
157157
println "Updating ${PKG_MGR_CMD} based packages..."
158158
if ! ("${PKG_MGR_CMD}" update -y &&
159159
"${PKG_MGR_CMD}" upgrade -y &&

0 commit comments

Comments
 (0)