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 b376556 commit eed0fd4Copy full SHA for eed0fd4
1 file changed
.update.sh
@@ -153,7 +153,7 @@ update_snapd() {
153
update_os_pkg() {
154
case "${ADJUSTED_ID}" in
155
debian)
156
- if [ "$(find /var/lib/apt/lists/ -maxdepth 1 -type f 2>/dev/null | wc -l)" -eq 0 ]; then
+ if [ "$(find /var/lib/apt/lists/ -mindepth 1 -maxdepth 1 -type f 2>/dev/null | wc -l)" -eq 0 ]; then
157
println "Updating ${PKG_MGR_CMD} based packages..."
158
if ! ("${PKG_MGR_CMD}" update -y &&
159
"${PKG_MGR_CMD}" upgrade -y &&
0 commit comments