Skip to content

Commit 93a47de

Browse files
committed
Improved ci script by using long readable options
Ticket: none Changelog: none
1 parent 93f42e9 commit 93a47de

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ci/dependencies.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ if [ -f /etc/os-release ]; then
6161
# fakeroot is only needed for running tests but can be worked around by using GAINROOT=env with tests/acceptance/testall script
6262
else
6363
# here we assume no subscription and so must build those two dependencies from source :)
64-
$GAINROOT yum groups install -y 'Development Tools'
64+
$GAINROOT yum groups install --assumeyes 'Development Tools'
6565
$GAINROOT yum update --assumeyes
6666
# cmake is for building librsync
67-
$GAINROOT yum install -y gcc gdb make git libtool autoconf automake byacc flex openssl-devel pcre2-devel pam-devel libxml2-devel cmake
67+
$GAINROOT yum install --assumeyes gcc gdb make git libtool autoconf automake byacc flex openssl-devel pcre2-devel pam-devel libxml2-devel cmake
6868
build_lmdb
6969
build_librsync
7070
fi
@@ -73,8 +73,8 @@ if [ -f /etc/os-release ]; then
7373
exit 1
7474
fi
7575
elif [ "$ID" = "debian" ] || [[ "$ID_LIKE" =~ "debian" ]]; then
76-
$GAINROOT apt update -y
77-
$GAINROOT apt install -y build-essential git libtool autoconf automake bison flex libssl-dev libpcre2-dev libbison-dev libacl1 libacl1-dev lmdb-utils liblmdb-dev libpam0g-dev libtool libyaml-dev libxml2-dev librsync-dev
76+
$GAINROOT apt update --yes
77+
$GAINROOT apt install --yes build-essential git libtool autoconf automake bison flex libssl-dev libpcre2-dev libbison-dev libacl1 libacl1-dev lmdb-utils liblmdb-dev libpam0g-dev libtool libyaml-dev libxml2-dev librsync-dev
7878
else
7979
echo "Unsupported distribution based on /etc/os-release."
8080
fi

0 commit comments

Comments
 (0)