Update install-64

pull/652/head
Jai-JAP 3 years ago committed by GitHub
parent 3dfa3aaca0
commit b59981be1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,8 +10,14 @@ function error {
cd $HOME
# Get dependencies
cd $HOME
"${DIRECTORY}/pkg-install" "cmake:armhf pulseaudio-utils:armhf pulseaudio:armhf libxcb-shape0:armhf libxcb-randr0:armhf libxcb-image:armhf libxcb-image0:armhf libxcb-xtest0:armhf libxcb-keysyms1:armhf libxcb-xfixes0:armhf libturbojpeg0:armhf libdbus-1-3:armhf" "$(dirname "$0")" || exit 1
DISTRO=$(lsb_release -is)
if [[ "${DISTRO}" == "Debian" || "${DISTRO}" == "Raspbian" ]]; then
"${DIRECTORY}/pkg-install" "pulseaudio-utils:armhf pulseaudio:armhf libxcb-shape0:armhf libxcb-randr0:armhf libxcb-image0:armhf libxcb-xtest0:armhf libxcb-keysyms1:armhf libxcb-xfixes0:armhf libturbojpeg0:armhf libdbus-1-3:armhf" "$(dirname "$0")" || exit 1
elif [[ "${DISTRO}" == "Ubuntu" ]]; then
"${DIRECTORY}/pkg-install" "pulseaudio-utils:armhf pulseaudio:armhf libxcb-shape0:armhf libxcb-randr0:armhf libxcb-image0:armhf libxcb-xtest0:armhf libxcb-keysyms1:armhf libxcb-xfixes0:armhf libturbojpeg:armhf libdbus-1-3:armhf" "$(dirname "$0")" || exit 1
else
error "This script can't run on your OS! It HAS to be Debian or Ubuntu"
fi
#refresh list of libraries
sudo ldconfig

Loading…
Cancel
Save