linutil/core/tabs/applications-setup/bottles-setup.sh
JEEVITHA KANNAN K S adad259037
Fix flatpak paths
2024-09-30 22:12:57 +05:30

17 lines
375 B
Bash
Executable File

#!/bin/sh -e
. ../common-script.sh
installBottles() {
if ! flatpak_app_exists "com.usebottles.bottles"; then
printf "%b\n" "${YELLOW}Installing Bottles...${RC}"
flatpak install -y flathub com.usebottles.bottles
else
printf "%b\n" "${GREEN}Bottles is already installed.${RC}"
fi
}
checkEnv
checkEscalationTool
checkFlatpak
installBottles