Skip to content

Commit 84197c9

Browse files
add pamac as possible package manager to be automatically selected (fixes #76)
1 parent 0544d40 commit 84197c9

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

install.sh

+13-9
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ FLAG_QUIET_MODE=false
1919
SUPPORTED_KERNELS=(linux linux-lts linux-zen linux-hardened)
2020
# All packages installed, in order.
2121
PKGS=(base-devel
22-
intel-ipu6-dkms-git
23-
intel-ipu6ep-camera-bin
24-
intel-ipu6ep-camera-hal-git
25-
v4l2loopback-dkms-git
26-
v4l2-relayd
27-
icamerasrc-git # Will build from repos, old fix PKGBUILD is renamed to icamerasrc-git.old
28-
gst-plugin-pipewire
29-
gst-plugins-good
22+
intel-ipu6-dkms-git
23+
intel-ipu6ep-camera-bin
24+
intel-ipu6ep-camera-hal-git
25+
v4l2loopback-dkms-git
26+
v4l2-relayd
27+
icamerasrc-git # Will build from repos, old fix PKGBUILD is renamed to icamerasrc-git.old
28+
gst-plugin-pipewire
29+
gst-plugins-good
3030
)
3131

3232
error() {
@@ -44,8 +44,12 @@ if [[ "${#PKGMAN[@]}" -eq 0 ]]; then
4444
PKGMAN=(yay -S --noconfirm --needed)
4545
elif [[ -x "$(command -v paru)" ]]; then
4646
PKGMAN=(paru -S --noconfirm --needed)
47+
elif [[ -x "$(command -v pamac)" ]]; then
48+
PKGMAN=(pamac install --no-confirm)
4749
else
48-
error "Couldn't find a package manager, please install either yay or paru, or set it manually in the script."
50+
error "\
51+
Couldn't find a package manager, please install either yay, paru, \
52+
pamac or set it manually in the script."
4953
fi
5054
fi
5155

0 commit comments

Comments
 (0)