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

Update _common.sh

This commit is contained in:
rosbeef andino 2022-04-14 14:41:11 -04:00 committed by GitHub
parent 3aaea89145
commit 2d8053ef96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,8 +23,6 @@ ynh_version_gt ()
ynh_jniwrapper_armhf () ynh_jniwrapper_armhf ()
{ {
if [ $YNH_ARCH == "armhf" ]
then
# set openjdk-8 as default # set openjdk-8 as default
sudo update-alternatives --set java /usr/lib/jvm/java-8-openjdk-armhf/jre/bin/java sudo update-alternatives --set java /usr/lib/jvm/java-8-openjdk-armhf/jre/bin/java
tempdir="$(mktemp -d)" tempdir="$(mktemp -d)"
@ -57,7 +55,6 @@ ynh_jniwrapper_armhf ()
mv "$tempdir/jitsi-sctp/jniwrapper/native/target/jniwrapper-native-1.0-SNAPSHOT.jar" "$final_path/jitsi-videobridge/lib/" mv "$tempdir/jitsi-sctp/jniwrapper/native/target/jniwrapper-native-1.0-SNAPSHOT.jar" "$final_path/jitsi-videobridge/lib/"
ynh_secure_remove --file="$tempdir" ynh_secure_remove --file="$tempdir"
fi
} }