Correct handling of using installer as command var
This commit is contained in:
parent
150ee116a4
commit
416c6aaf78
@ -24,7 +24,7 @@ install_method_centos() {
|
|||||||
fi
|
fi
|
||||||
echo "Installing epel-release, NOT fully configured..., see: https://docs.fedoraproject.org/en-US/epel/"
|
echo "Installing epel-release, NOT fully configured..., see: https://docs.fedoraproject.org/en-US/epel/"
|
||||||
sleep 3
|
sleep 3
|
||||||
"$("${INSTALLER}" epel-release)"
|
"${INSTALLER}" epel-release
|
||||||
}
|
}
|
||||||
|
|
||||||
install_method_ubuntu() {
|
install_method_ubuntu() {
|
||||||
@ -70,7 +70,7 @@ main() {
|
|||||||
|
|
||||||
for pkg in "${INSTALL_PACKAGES[@]}"; do
|
for pkg in "${INSTALL_PACKAGES[@]}"; do
|
||||||
echo "Installing ${pkg}"
|
echo "Installing ${pkg}"
|
||||||
"$("${INSTALLER}" "${pkg}")"
|
"${INSTALLER}" "${pkg}"
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "Finished installing general module items"
|
echo "Finished installing general module items"
|
||||||
|
Loading…
Reference in New Issue
Block a user