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 a9d63e9 commit b963740Copy full SHA for b963740
zip-content/zip-install.sh
@@ -8,7 +8,7 @@
8
# SPDX-License-Identifier: GPL-3.0-or-later
9
# shellcheck enable=all
10
11
-readonly ZIPINSTALL_VERSION='1.4.1'
+readonly ZIPINSTALL_VERSION='1.4.2'
12
13
PATH="${PATH:-/system/bin}:."
14
umask 022 || :
@@ -116,6 +116,9 @@ command 1> /dev/null -v 'unzip' || {
116
117
### FUNCTIONS AND CODE ###
118
119
+# shellcheck disable=SC3040 # Ignore: In POSIX sh, set option pipefail is undefined
120
+case "$(set 2> /dev/null -o || set || :)" in *'pipefail'*) set -o pipefail || echo 1>&2 'Failed: pipefail' ;; *) ;; esac
121
+
122
ui_info_msg()
123
{
124
if test -n "${NO_COLOR-}"; then
0 commit comments