Install packages for Arch Linux
This commit is contained in:
parent
27b6cdf252
commit
6c6b9ab7de
1 changed files with 13 additions and 3 deletions
16
install.sh
16
install.sh
|
@ -18,9 +18,19 @@ ver="0.3"
|
|||
# the sources during kernel updates
|
||||
marker="0.0.0"
|
||||
|
||||
apt update
|
||||
apt-get -y install raspberrypi-kernel-headers raspberrypi-kernel
|
||||
apt-get -y install dkms git i2c-tools libasound2-plugins
|
||||
# update and install required packages
|
||||
which apt &>/dev/null
|
||||
if [[ $? -eq 0 ]]; then
|
||||
apt update -y
|
||||
apt-get -y install raspberrypi-kernel-headers raspberrypi-kernel
|
||||
apt-get -y install dkms git i2c-tools libasound2-plugins
|
||||
fi
|
||||
|
||||
# Arch Linux
|
||||
which pacman &>/dev/null
|
||||
if [[ $? -eq 0 ]]; then
|
||||
pacman -Syu --needed git gcc automake make dkms linux-raspberrypi-headers i2c-tools
|
||||
fi
|
||||
|
||||
# locate currently installed kernels (may be different to running kernel if
|
||||
# it's just been updated)
|
||||
|
|
Loading…
Reference in a new issue