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-15 08:38:55 -04:00 committed by GitHub
parent d9d44cab0b
commit 23081bfdb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,14 +53,15 @@ ynh_jniwrapper_armhf ()
mvn package
popd
# rm official jniwrapper to copy
original_jniwrapper=$(ls $final_path/jitsi-videobridge/lib/jniwrapper-native-*.jar
ynh_secure_remove --file="$original_jniwrapper"
mv "$tempdir/jitsi-sctp/jniwrapper/native/target/jniwrapper-native-1.0-SNAPSHOT.jar" "$final_path/jitsi-videobridge/lib/"
chmod 640 "$final_path/jitsi-videobridge/lib/jniwrapper-native-1.0-SNAPSHOT.jar"
chown -R $app:$app "$final_path/jitsi-videobridge/lib/jniwrapper-native-1.0-SNAPSHOT.jar"
# rm official jniwrapper to copy
ynh_secure_remove --file="$final_path/jitsi-videobridge/lib/jniwrapper-native-*.jar"
ynh_secure_remove --file="$tempdir"
}