mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-27 15:26:03 +00:00
2662aa03c4
* small refactor * Fix formatting --------- Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
21 lines
457 B
Bash
Executable File
21 lines
457 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
. ../common-script.sh
|
|
|
|
installBottles() {
|
|
if ! command_exists flatpak; then
|
|
printf "%b\n" "${YELLOW}Installing Bottles...${RC}"
|
|
case "$PACKAGER" in
|
|
*)
|
|
. ./setup-flatpak.sh
|
|
flatpak install -y flathub com.usebottles.bottles
|
|
;;
|
|
esac
|
|
else
|
|
printf "%b\n" "${GREEN}Bottles is already installed.${RC}"
|
|
fi
|
|
}
|
|
|
|
checkEnv
|
|
checkEscalationTool
|
|
installBottles |