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-12 23:39:34 -04:00 committed by GitHub
parent 7d90a3e3a4
commit 72d3e5bcda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -129,9 +129,12 @@ ynh_script_progression --message="Setting up source files..."
if [ $(uname -m) == "armv7l" ] if [ $(uname -m) == "armv7l" ]
then then
# prepare openjdk8 installation # prepare openjdk8 installation
if [! -d "/tmp/jitsi-install/" ]
then
mkdir /tmp/jitsi-install/ mkdir /tmp/jitsi-install/
cd /tmp/jitsi-install/ fi
cd /tmp/jitsi-install/
#install openjdk 8 because javah is used by jitsi and not supported in higher versions #install openjdk 8 because javah is used by jitsi and not supported in higher versions
wget http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jre_8u322-b06-1~deb9u1_armhf.deb wget http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jre_8u322-b06-1~deb9u1_armhf.deb
wget http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jre-headless_8u322-b06-1~deb9u1_armhf.deb wget http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jre-headless_8u322-b06-1~deb9u1_armhf.deb
@ -190,9 +193,7 @@ if [ $(uname -m) == "armv7l" ]
then then
# rm official jniwrapper to copy # rm official jniwrapper to copy
rm "$final_path/jitsi-videobridge/lib/jniwrapper-native-1.0-*" rm "$final_path/jitsi-videobridge/lib/jniwrapper-native-1.0-*"
cp "./jniwrapper/native/target/jniwrapper-native-1.0-SNAPSHOT.jar" "$final_path/jitsi-videobridge/lib/jniwrapper-native-1.0-SNAPSHOT.jar" cp "./jniwrapper/native/target/jniwrapper-native-1.0-SNAPSHOT.jar" "$final_path/jitsi-videobridge/lib/"
chmod 640 jniwrapper-native-1.0-SNAPSHOT.jar
chown $app:$app jniwrapper-native-1.0-SNAPSHOT.jar
fi fi
ynh_setup_source --dest_dir="$final_path/jitsi-meet-prosody" --source_id=mod_auth_ldap ynh_setup_source --dest_dir="$final_path/jitsi-meet-prosody" --source_id=mod_auth_ldap