mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-21 14:53:35 +05:00
script: add simple check for DietPi distro when creating the klipper dependency array
This commit is contained in:
@@ -56,7 +56,11 @@ install_klipper_packages(){
|
||||
unset PKGARR
|
||||
for PKG in $PKGLIST; do PKGARR+=($PKG); done
|
||||
### add dbus requirement for DietPi distro
|
||||
PKGARR+=("dbus")
|
||||
if [ -e "/boot/dietpi" ]; then
|
||||
PKGARR+=("dbus")
|
||||
fi
|
||||
|
||||
### display dependencies to user
|
||||
echo "${cyan}${PKGARR[@]}${default}"
|
||||
|
||||
### Update system package info
|
||||
|
||||
Reference in New Issue
Block a user