mirror of
https://github.com/docker/docker-install.git
synced 2026-11-20 10:03:11 +03:00
Make shellcheck stop crying
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
This commit is contained in:
1 parent
d48913ccbd
commit
ee7e3c03dd
1 file changed
+2
-2
+2
-2
@@ -423,7 +423,7 @@ do_install() {
|
||||
$sh_c 'apt-get update -qq >/dev/null'
|
||||
)
|
||||
pkg_version=""
|
||||
if [ ! -z "$VERSION" ]; then
|
||||
if [ -n "$VERSION" ]; then
|
||||
if is_dry_run; then
|
||||
echo "# WARNING: VERSION pinning is not supported in DRY_RUN"
|
||||
else
|
||||
@@ -491,7 +491,7 @@ do_install() {
|
||||
$sh_c "$pkg_manager makecache"
|
||||
)
|
||||
pkg_version=""
|
||||
if [ ! -z "$VERSION" ]; then
|
||||
if [ -n "$VERSION" ]; then
|
||||
if is_dry_run; then
|
||||
echo "# WARNING: VERSION pinning is not supported in DRY_RUN"
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user