Skip to content

Commit

Permalink
add pamac as possible package manager to be automatically selected (f…
Browse files Browse the repository at this point in the history
…ixes #76)
  • Loading branch information
stefanpartheym committed Mar 12, 2024
1 parent 0544d40 commit 84197c9
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ FLAG_QUIET_MODE=false
SUPPORTED_KERNELS=(linux linux-lts linux-zen linux-hardened)
# All packages installed, in order.
PKGS=(base-devel
intel-ipu6-dkms-git
intel-ipu6ep-camera-bin
intel-ipu6ep-camera-hal-git
v4l2loopback-dkms-git
v4l2-relayd
icamerasrc-git # Will build from repos, old fix PKGBUILD is renamed to icamerasrc-git.old
gst-plugin-pipewire
gst-plugins-good
intel-ipu6-dkms-git
intel-ipu6ep-camera-bin
intel-ipu6ep-camera-hal-git
v4l2loopback-dkms-git
v4l2-relayd
icamerasrc-git # Will build from repos, old fix PKGBUILD is renamed to icamerasrc-git.old
gst-plugin-pipewire
gst-plugins-good
)

error() {
Expand All @@ -44,8 +44,12 @@ if [[ "${#PKGMAN[@]}" -eq 0 ]]; then
PKGMAN=(yay -S --noconfirm --needed)
elif [[ -x "$(command -v paru)" ]]; then
PKGMAN=(paru -S --noconfirm --needed)
elif [[ -x "$(command -v pamac)" ]]; then
PKGMAN=(pamac install --no-confirm)
else
error "Couldn't find a package manager, please install either yay or paru, or set it manually in the script."
error "\
Couldn't find a package manager, please install either yay, paru, \
pamac or set it manually in the script."
fi
fi

Expand Down

0 comments on commit 84197c9

Please sign in to comment.