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:
parent
3aaea89145
commit
2d8053ef96
1 changed files with 0 additions and 3 deletions
|
@ -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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue