diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-01-05 08:50:47 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-01-05 08:50:47 +0100 |
commit | aa8103adf21acb2ad88044f2c2e728b2d6649f2c (patch) | |
tree | cdcf732d4f8e1a79a01f6cf0313b1ad3b1396fba /application | |
parent | b300c4956cd235495e3bf4e897018ebbec282f67 (diff) | |
download | MultiMC-aa8103adf21acb2ad88044f2c2e728b2d6649f2c.tar MultiMC-aa8103adf21acb2ad88044f2c2e728b2d6649f2c.tar.gz MultiMC-aa8103adf21acb2ad88044f2c2e728b2d6649f2c.tar.lz MultiMC-aa8103adf21acb2ad88044f2c2e728b2d6649f2c.tar.xz MultiMC-aa8103adf21acb2ad88044f2c2e728b2d6649f2c.zip |
GH-1390 improve linux runner script more
* use `-q` while calling dnf to avoid garbage in output
Diffstat (limited to 'application')
-rwxr-xr-x | application/package/linux/MultiMC | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/package/linux/MultiMC b/application/package/linux/MultiMC index 16842e40..2d4be9f0 100755 --- a/application/package/linux/MultiMC +++ b/application/package/linux/MultiMC @@ -62,7 +62,7 @@ else # dnf elif which dnf &>/dev/null; then LIBRARIES=`echo "$DEPS_LIST" | grep -oP "[^, ]*" | sort -u` - COMMAND_LIBS=`for LIBRARY in $LIBRARIES; do dnf whatprovides $LIBRARY; done` + COMMAND_LIBS=`for LIBRARY in $LIBRARIES; do dnf whatprovides -q $LIBRARY; done` COMMAND_LIBS=`echo "$COMMAND_LIBS" | grep -v 'Repo' | sort -u | awk -vORS=" " '{ print $1 }'` INSTALL_CMD="sudo dnf install $COMMAND_LIBS" # yum |