aboutsummaryrefslogtreecommitdiff
path: root/provision
diff options
context:
space:
mode:
Diffstat (limited to 'provision')
-rwxr-xr-xprovision8
1 files changed, 6 insertions, 2 deletions
diff --git a/provision b/provision
index aa6a05f..e99d633 100755
--- a/provision
+++ b/provision
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
if [[ -z "$1" ]]; then
- echo "Run with parameters: essential, nice, cask_essential, or cask_nice"
+ echo "Run with parameters: essential, nice, gui, flatpak, cask_essential, or cask_nice"
else
if command -v brew &> /dev/null; then
command_name="brew"
@@ -9,7 +9,11 @@ else
privilege=""
else
if command -v dnf &> /dev/null; then
- command_name="dnf"
+ if [[ "$1" == "flatpak" ]]; then
+ command_name="flatpak"
+ else
+ command_name="dnf"
+ fi
install_command="install"
privilege="sudo"
else