aboutsummaryrefslogtreecommitdiff
path: root/provision
diff options
context:
space:
mode:
authorRubén Beltrán del Río <jj@r.bdr.sh>2026-07-07 21:52:07 +0200
committerRubén Beltrán del Río <jj@r.bdr.sh>2026-07-08 00:07:23 +0200
commitd6883d4b04fc262df829c61bf1ec08bf61b96d19 (patch)
treea3116405420fbe4a117a71315146796974a83100 /provision
parentcb6eaa4dceddc797b3189add43d09919202249a1 (diff)
Update pacman provisioningHEADmain
Diffstat (limited to 'provision')
-rwxr-xr-xprovision9
1 files changed, 7 insertions, 2 deletions
diff --git a/provision b/provision
index e99d633..da1eaab 100755
--- a/provision
+++ b/provision
@@ -18,8 +18,13 @@ else
privilege="sudo"
else
if command -v pacman &> /dev/null; then
- command_name="pacman"
- install_command="-Sy"
+ if [[ "$1" == "flatpak" ]]; then
+ command_name="flatpak"
+ install_command="install"
+ else
+ command_name="pacman"
+ install_command="-Sy"
+ fi
privilege="sudo"
else
if command -v apt &> /dev/null; then