mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +00:00
Update core/tabs/applications-setup/podman-compose-setup.sh
Co-authored-by: nyx <nnyyxxxx@protonmail.com>
This commit is contained in:
parent
be6cd65487
commit
9611dd3786
|
@ -2,7 +2,8 @@
|
|||
|
||||
. ../common-script.sh
|
||||
|
||||
install_podman_compose() {
|
||||
installPodmanCompose() {
|
||||
if ! command_exists podman-compose; then
|
||||
printf "%b\n" "${YELLOW}Installing Podman Compose...${RC}"
|
||||
case "$PACKAGER" in
|
||||
apt-get|nala)
|
||||
|
@ -22,11 +23,6 @@ install_podman_compose() {
|
|||
exit 1
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
install_components() {
|
||||
if ! command_exists podman-compose || ! command_exists podman compose version; then
|
||||
install_podman_compose
|
||||
else
|
||||
printf "%b\n" "${GREEN}Podman Compose is already installed.${RC}"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user