Skip to content

Commit ffc46a3

Browse files
committed
Fixup
1 parent 3c323d0 commit ffc46a3

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/jobs/configure-checks/all.bats

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,17 @@ translate () {
6161
echo "$args"
6262
}
6363

64-
#repo-install () {
65-
# args=$(translate $@)
66-
# if [ "$distro_id" = "ID=alpine" ]; then
67-
# ${cmd} add $args #&>/dev/null
68-
# elif [ "$distro_id" = "ID=arch" ]; then
69-
# ${cmd} -Sy --noconfirm $args >/dev/null
70-
# else
71-
# ${cmd} install -y $args >/dev/null
72-
# fi
73-
#}
74-
#
64+
repo-install () {
65+
args=$(translate $@)
66+
if [ "$distro_id" = "ID=alpine" ]; then
67+
${cmd} add $args #&>/dev/null
68+
elif [ "$distro_id" = "ID=arch" ]; then
69+
${cmd} -Sy --noconfirm $args >/dev/null
70+
else
71+
${cmd} install -y $args >/dev/null
72+
fi
73+
}
74+
7575
#repo-remove () {
7676
# args=$(translate $@)
7777
# if [ "$distro_id" = "ID=alpine" ]; then

0 commit comments

Comments
 (0)