1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jitsi_ynh.git synced 2024-09-03 19:35:57 +02:00

Update install

This commit is contained in:
rosbeef andino 2022-04-14 14:34:18 -04:00 committed by GitHub
parent c1fc190c94
commit 4468ad7f9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,11 +98,10 @@ ynh_app_setting_set --app=$app --key=port_component --value=$port_component
#=================================================
ynh_script_progression --message="Installing dependencies..."
ynh_package_update
# install generic dependencies
ynh_install_app_dependencies $pkg_dependencies
if [ $(uname -m) == "armv7l" ]
if [ $YNH_ARCH == "armhf" ]
then
# install arm specific depedencies to compile extra dependencies
ynh_install_app_dependencies $pkg_dependencies_arm
@ -226,9 +225,9 @@ ynh_add_config --template="../conf/jitsi-videobridge-sip-communicator.properties
ynh_add_config --template="../conf/jitsi-videobridge.config" --destination="/etc/$app/videobridge/config"
#=================================================
# REPLACE JNIWRAPPER FOR ARMV7L AARCHITECTURE
# REPLACE JNIWRAPPER FOR ARMHF AARCHITECTURE
#=================================================
if [ $(uname -m) == "armv7l" ]
if [ $YNH_ARCH == "armhf" ]
then
# set openjdk-8 as default
sudo update-alternatives --set java /usr/lib/jvm/java-8-openjdk-armhf/jre/bin/java