Skip to content

Commit

Permalink
fix(scripts): argument --yes in yum install is unrecognized
Browse files Browse the repository at this point in the history
`--yes` is not a valid argument but `-y`. Replacing `--yes` with `-y` or using `yes` CLI can resolve this.

Resolves: leon-ai/issues/195#issue-1363352738
  • Loading branch information
Hkmu committed Sep 6, 2022
1 parent 99ce93c commit 29d5cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dependencies/install_yum_packages.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

yum install --yes gcc zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl-devel tk-devel libffi-devel xz-devel git bash curl
yes | yum install gcc zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl-devel tk-devel libffi-devel xz-devel git bash curl

0 comments on commit 29d5cea

Please sign in to comment.