mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 13:15:21 +00:00
d4eacaeab3
* Fix flatpak paths * Refact office suites flatpak * Merge flatpak_app_exists and command_exists * Fix binary path bug * Add apk pgm --------- Co-authored-by: Chris Titus <contact@christitus.com>
17 lines
369 B
Bash
Executable File
17 lines
369 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
. ../common-script.sh
|
|
|
|
installBottles() {
|
|
if ! command_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 |