Skip to content

Commit b82f4ec

Browse files
committed
fix: apply sourcery recommendations
1 parent 2a15cd7 commit b82f4ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ main() {
248248
INSTALL_TYPE="source"
249249
log "Build has been forced because your user ID is not the same as the pre-built images. If you want to use pre-built images, your current user installing reNgine-ng must be 1000." $COLOR_RED
250250
else
251-
if [ $isNonInteractive = false ]; then
251+
if [ "$isNonInteractive" = false ]; then
252252
log "Do you want to build Docker images from source or use pre-built images (recommended)? \nThis saves significant build time but requires good download speeds for it to complete fast." $COLOR_RED
253253
log "1) From source" $COLOR_YELLOW
254254
log "2) Use pre-built images (default)" $COLOR_YELLOW
@@ -266,13 +266,13 @@ main() {
266266
INSTALL_TYPE="prebuilt"
267267
;;
268268
esac
269-
elif [ $isNonInteractive = true ]; then
269+
elif [ "$isNonInteractive" = true ]; then
270270
INSTALL_TYPE="${INSTALL_TYPE:-prebuilt}"
271271
fi
272272
fi
273273

274274
# Non-interactive install
275-
if [ $isNonInteractive = true ]; then
275+
if [ "$isNonInteractive" = true ]; then
276276
# Load and verify .env file
277277
if [ -f .env ]; then
278278
export $(grep -v '^#' .env | xargs)

0 commit comments

Comments
 (0)