From d38d87e505c143989e2be089752ffc476639fc68 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Thu, 29 Aug 2024 17:53:36 -0600 Subject: [PATCH] use number on patch naming. --- jigasi-vosk-backend.sh | 6 ++++-- ...igasi-meet-config.patch => 001-jigasi-meet-config.patch} | 0 ...sip-properties.patch => 002-jigasi-sip-properties.patch} | 0 3 files changed, 4 insertions(+), 2 deletions(-) rename patches/jigasi/{jigasi-meet-config.patch => 001-jigasi-meet-config.patch} (100%) rename patches/jigasi/{jigasi-sip-properties.patch => 002-jigasi-sip-properties.patch} (100%) diff --git a/jigasi-vosk-backend.sh b/jigasi-vosk-backend.sh index f1d2f6a..2c885fc 100644 --- a/jigasi-vosk-backend.sh +++ b/jigasi-vosk-backend.sh @@ -100,13 +100,15 @@ echo "Setting up Jigasi transcript with current platform..." # Jitsi Meet echo "> Patching Jitsi Meet's config.js for Transcription support." echo " Read more at patches/jigasi/jigasi-meet-config.patch file" -envsubst < patches/jigasi/jigasi-meet-config.patch | patch --no-backup-if-mismatch -d / -p1 +envsubst < patches/jigasi/001-jigasi-meet-config.patch | \ + patch --no-backup-if-mismatch -d / -p1 # Jigasi echo "> Patching jigasi's sip-communicator.properties configuration." echo " Read more at patches/jigasi/jigasi-sip-properties.patch file" cp "$JIG_SIP_PROP" ${JIG_SIP_PROP}-dpkg-file -envsubst < patches/jigasi/jigasi-sip-properties.patch | patch --no-backup-if-mismatch -d / -p1 +envsubst < patches/jigasi/002-jigasi-sip-properties.patch | \ + patch --no-backup-if-mismatch -d / -p1 # Create transcribe user on hidden domain. prosodyctl register transcriber recorder."$DOMAIN" "$JIG_TRANSC_PASWD" diff --git a/patches/jigasi/jigasi-meet-config.patch b/patches/jigasi/001-jigasi-meet-config.patch similarity index 100% rename from patches/jigasi/jigasi-meet-config.patch rename to patches/jigasi/001-jigasi-meet-config.patch diff --git a/patches/jigasi/jigasi-sip-properties.patch b/patches/jigasi/002-jigasi-sip-properties.patch similarity index 100% rename from patches/jigasi/jigasi-sip-properties.patch rename to patches/jigasi/002-jigasi-sip-properties.patch