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.
2 parents 38400e5 + 1c3b086 commit f93c838Copy full SHA for f93c838
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/* -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
146
println "Updating ${PKG_MGR_CMD} based packages..."
147
if ! ("${PKG_MGR_CMD}" update -y &&
148
"${PKG_MGR_CMD}" upgrade -y &&
0 commit comments