mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-29 16:57:18 +00:00
scripts/lib: Fix whitespace
Make whitespace consistent. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
parent
5b6ced536b
commit
f17b5c29f3
@ -62,7 +62,7 @@ reposdir=/root/mash
|
|||||||
retries=5
|
retries=5
|
||||||
EOF
|
EOF
|
||||||
if [ "$BASE_URL" != "" ]; then
|
if [ "$BASE_URL" != "" ]; then
|
||||||
cat >> "${DNF_CONF}" << EOF
|
cat >> "${DNF_CONF}" << EOF
|
||||||
|
|
||||||
[base]
|
[base]
|
||||||
name=${OS_NAME}-${OS_VERSION} ${REPO_NAME}
|
name=${OS_NAME}-${OS_VERSION} ${REPO_NAME}
|
||||||
@ -71,7 +71,7 @@ baseurl=${BASE_URL}
|
|||||||
enabled=1
|
enabled=1
|
||||||
EOF
|
EOF
|
||||||
elif [ "$MIRROR_LIST" != "" ]; then
|
elif [ "$MIRROR_LIST" != "" ]; then
|
||||||
cat >> "${DNF_CONF}" << EOF
|
cat >> "${DNF_CONF}" << EOF
|
||||||
|
|
||||||
[base]
|
[base]
|
||||||
name=${OS_NAME}-${OS_VERSION} ${REPO_NAME}
|
name=${OS_NAME}-${OS_VERSION} ${REPO_NAME}
|
||||||
@ -81,13 +81,12 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$GPG_KEY_FILE" != "" ]; then
|
if [ "$GPG_KEY_FILE" != "" ]; then
|
||||||
cat >> "${DNF_CONF}" << EOF
|
cat >> "${DNF_CONF}" << EOF
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=file://${CONFIG_DIR}/${GPG_KEY_FILE}
|
gpgkey=file://${CONFIG_DIR}/${GPG_KEY_FILE}
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build_rootfs()
|
build_rootfs()
|
||||||
|
Loading…
Reference in New Issue
Block a user