From 9e97101829c594c93ce71698e78304ee61cc4d27 Mon Sep 17 00:00:00 2001 From: rosbeef andino Date: Thu, 14 Apr 2022 20:44:33 -0400 Subject: [PATCH] Update _common.sh --- scripts/_common.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 48eed6b..2f6ebdd 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -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" }