aboutsummaryrefslogtreecommitdiff
path: root/provision
diff options
context:
space:
mode:
authorRubén Beltrán del Río <jj@r.bdr.sh>2026-03-15 21:41:58 +0100
committerRubén Beltrán del Río <jj@r.bdr.sh>2026-03-16 10:44:45 +0100
commit03d7197eada286bca3eb0ea0631a57dc1ed9c8c2 (patch)
tree0b59fbad9bfd23f6fa351cd266814869d426a917 /provision
parentcbc9e95b508c1c38171c8b51b3a93531b93eb8f1 (diff)
Add flatpak provisioning, current gui and nice dnf files
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