Skip to content

Commit 4c7d1ea

Browse files
committed
Fix: if no virtual packages were installed, let 'apk del ...' fail silently.
1 parent c310c1a commit 4c7d1ea

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

DnsServerApp/install.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
#!/bin/sh
22

33
cleanup() {
4-
# On Alpine Linux get rid of virtual packages
4+
# On Alpine Linux get rid of virtual packages installed in support for this script.
5+
# If none was installed, just fail silently
56
if $alpineLinux; then
6-
apk del .deps >> $installLog 2>&1
7+
apk del .deps > /dev/null 2>&1
78
fi
89
}
910

0 commit comments

Comments
 (0)