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 20:44:33 -04:00 committed by GitHub
parent 6ed98d4fcd
commit 9e97101829
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,12 +53,14 @@ ynh_jniwrapper_armhf ()
mvn package
popd
# rm official jniwrapper to copy
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"
}