We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f93c838 commit 3493a13Copy full SHA for 3493a13
1 file changed
.update.sh
@@ -142,7 +142,7 @@ update_snapd() {
142
update_os_pkg() {
143
case "${ADJUSTED_ID}" in
144
debian)
145
- 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
146
println "Updating ${PKG_MGR_CMD} based packages..."
147
if ! ("${PKG_MGR_CMD}" update -y &&
148
"${PKG_MGR_CMD}" upgrade -y &&
0 commit comments