mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-12-25 04:49:44 +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 |