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 4a8238d commit ac77845Copy full SHA for ac77845
1 file changed
.update.sh
@@ -87,8 +87,8 @@ cleanup_snapd() {
87
return
88
fi
89
90
- # Check if no snaps are installed
91
- if echo "${snap_output}" | grep -q "No snaps are installed"; then
+ # Check if no snaps are installed (only header line present)
+ if [ "$(echo "${snap_output}" | wc -l)" -le 1 ]; then
92
93
94
0 commit comments