Skip to content

Commit fa6ea3f

Browse files
author
cgruver
committed
update formatting to match
Signed-off-by: cgruver <cgruver@clg.lab>
1 parent e104fb2 commit fa6ea3f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

base/ubi9/entrypoint.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ if [ ! -d "${HOME}" ]; then
66
fi
77

88
# Configure container builds to use vfs or fuse-overlayfs
9-
if [ ! -d "${HOME}/.config/containers" ]
10-
then
9+
if [ ! -d "${HOME}/.config/containers" ]; then
1110
mkdir -p ${HOME}/.config/containers
12-
if [ -c "/dev/fuse" ] && [ -f "/usr/bin/fuse-overlayfs" ]
13-
then
11+
if [ -c "/dev/fuse" ] && [ -f "/usr/bin/fuse-overlayfs" ]; then
1412
(echo '[storage]';echo 'driver = "overlay"';echo '[storage.options.overlay]';echo 'mount_program = "/usr/bin/fuse-overlayfs"') > ${HOME}/.config/containers/storage.conf
1513
else
1614
(echo '[storage]';echo 'driver = "vfs"') > "${HOME}"/.config/containers/storage.conf

0 commit comments

Comments
 (0)