stefanpartheym / archlinux-ipu6-webcam

Easy installation for patched Intel IPU6 camera drivers
145 stars 15 forks source link

IDEA: Add pamac to default AUR package managers to make script work out-of-the-box on Manjaro #76

Closed aseltmann closed 6 months ago

aseltmann commented 6 months ago

As the title says - for me the script worked out-of-the-box with adding the Manjaro pre-installed AUR (and standard repo) package manager pamac to install.sh:

# Configure package manager here if necessary:
if [[ "${#PKGMAN[@]}" -eq 0 ]]; then
  if [[ -x "$(command -v yay)" ]]; 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, paru or pamac, or set it manually in the script."
  fi
fi

If you think this is a good idea, I will open a pull request!

stefanpartheym commented 6 months ago

Good idea, fixed in commit 84197c984457be7ce108f5c2bd77c3904375a955