diff --git a/CHANGELOG.md b/CHANGELOG.md
index d2cf7fa6..9a0da18b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,7 @@
### Minor changes and fixes
* Fix #660: don't send headers twice on emoji router errors.
+* Fix shebangs (for NixOS compatibility).
## 12.0.3
diff --git a/build-avatars.js b/build-avatars.js
index 8cee4898..114b0ce3 100755
--- a/build-avatars.js
+++ b/build-avatars.js
@@ -1,6 +1,7 @@
-#!/bin/env node
+#!/usr/bin/env node
// SPDX-FileCopyrightText: 2024 John Livingston
+// SPDX-FileCopyrightText: 2025 Mehdi Benadel
//
// SPDX-License-Identifier: AGPL-3.0-only
diff --git a/build-prosody.sh b/build-prosody.sh
index 43ad22d8..46f0d712 100644
--- a/build-prosody.sh
+++ b/build-prosody.sh
@@ -1,6 +1,7 @@
-#!/bin/bash
+#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2024 John Livingston
+# SPDX-FileCopyrightText: 2025 Mehdi Benadel
#
# SPDX-License-Identifier: AGPL-3.0-only
diff --git a/conversejs/build-conversejs-patch-i18n.js b/conversejs/build-conversejs-patch-i18n.js
index 7eff43d0..1a1360ed 100644
--- a/conversejs/build-conversejs-patch-i18n.js
+++ b/conversejs/build-conversejs-patch-i18n.js
@@ -1,6 +1,7 @@
-#!/bin/env node
+#!/usr/bin/env node
// SPDX-FileCopyrightText: 2024 John Livingston
+// SPDX-FileCopyrightText: 2025 Mehdi Benadel
//
// SPDX-License-Identifier: AGPL-3.0-only
diff --git a/conversejs/build-conversejs.sh b/conversejs/build-conversejs.sh
index cffac2bd..4dc994dc 100644
--- a/conversejs/build-conversejs.sh
+++ b/conversejs/build-conversejs.sh
@@ -1,6 +1,7 @@
-#!/bin/bash
+#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2024 John Livingston
+# SPDX-FileCopyrightText: 2025 Mehdi Benadel
#
# SPDX-License-Identifier: AGPL-3.0-only
@@ -91,7 +92,7 @@ mv "$converse_build_dir/custom/index.js" "$converse_build_dir/src/"
cp "$src_dir/loc.keys.js" "$converse_build_dir/"
echo "Patching i18n files to add custom labels..."
-/bin/env node conversejs/build-conversejs-patch-i18n.js
+/usr/bin/env node conversejs/build-conversejs-patch-i18n.js
if [[ ! -d "$converse_build_dir/node_modules" ]]; then
echo "Missing node_modules directory, seems we have to call the makefile..."
diff --git a/doc-translate.sh b/doc-translate.sh
index 15532bb5..44f92d73 100644
--- a/doc-translate.sh
+++ b/doc-translate.sh
@@ -1,6 +1,7 @@
-#!/bin/bash
+#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2024 John Livingston
+# SPDX-FileCopyrightText: 2025 Mehdi Benadel
#
# SPDX-License-Identifier: AGPL-3.0-only
diff --git a/support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md b/support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
index 7dbdbae0..29f8fe15 100644
--- a/support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
+++ b/support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
@@ -170,7 +170,7 @@ Note: for it to be available, the plugin must have been started at least once.
We will create a file `/etc/letsencrypt/renewal-hooks/deploy/prosody.sh` containing:
```bash
-#!/bin/sh
+#!/usr/bin/env sh
/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \
--root \
--config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \
diff --git a/support/documentation/po/livechat.ar.po b/support/documentation/po/livechat.ar.po
index 85f25395..0c25d9f4 100644
--- a/support/documentation/po/livechat.ar.po
+++ b/support/documentation/po/livechat.ar.po
@@ -1452,7 +1452,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.ca.po b/support/documentation/po/livechat.ca.po
index d21cc38e..764d6e3d 100644
--- a/support/documentation/po/livechat.ca.po
+++ b/support/documentation/po/livechat.ca.po
@@ -1968,14 +1968,14 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
" cert import \\\n"
" room.your_instance.tld your_instance.tld /etc/letsencrypt/live\n"
msgstr ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/"
"prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
diff --git a/support/documentation/po/livechat.cs.po b/support/documentation/po/livechat.cs.po
index 81e9ae8e..645210ef 100644
--- a/support/documentation/po/livechat.cs.po
+++ b/support/documentation/po/livechat.cs.po
@@ -1928,14 +1928,14 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
" cert import \\\n"
" room.your_instance.tld your_instance.tld /etc/letsencrypt/live\n"
msgstr ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/"
"prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
diff --git a/support/documentation/po/livechat.de.po b/support/documentation/po/livechat.de.po
index 23697e82..3c6bb432 100644
--- a/support/documentation/po/livechat.de.po
+++ b/support/documentation/po/livechat.de.po
@@ -2415,14 +2415,14 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
" cert import \\\n"
" room.your_instance.tld your_instance.tld /etc/letsencrypt/live\n"
msgstr ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.el.po b/support/documentation/po/livechat.el.po
index 7d1ac66a..637996a7 100644
--- a/support/documentation/po/livechat.el.po
+++ b/support/documentation/po/livechat.el.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.en.pot b/support/documentation/po/livechat.en.pot
index 0284f45d..e3dac4f1 100644
--- a/support/documentation/po/livechat.en.pot
+++ b/support/documentation/po/livechat.en.pot
@@ -1636,7 +1636,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.eo.po b/support/documentation/po/livechat.eo.po
index 71fb5f21..f2a2d24b 100644
--- a/support/documentation/po/livechat.eo.po
+++ b/support/documentation/po/livechat.eo.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.es.po b/support/documentation/po/livechat.es.po
index cfc2524c..f3447dbf 100644
--- a/support/documentation/po/livechat.es.po
+++ b/support/documentation/po/livechat.es.po
@@ -1481,7 +1481,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.eu.po b/support/documentation/po/livechat.eu.po
index 9655395b..4e88eb09 100644
--- a/support/documentation/po/livechat.eu.po
+++ b/support/documentation/po/livechat.eu.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.fa.po b/support/documentation/po/livechat.fa.po
index e0a23ffb..1049f584 100644
--- a/support/documentation/po/livechat.fa.po
+++ b/support/documentation/po/livechat.fa.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.fi.po b/support/documentation/po/livechat.fi.po
index 74b423e4..8f7ea22a 100644
--- a/support/documentation/po/livechat.fi.po
+++ b/support/documentation/po/livechat.fi.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.fr.po b/support/documentation/po/livechat.fr.po
index a942321f..c1239821 100644
--- a/support/documentation/po/livechat.fr.po
+++ b/support/documentation/po/livechat.fr.po
@@ -1523,14 +1523,14 @@ msgstr "On va créer un fichier `/etc/letsencrypt/renewal-hooks/deploy/prosody.s
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
" cert import \\\n"
" room.your_instance.tld your_instance.tld /etc/letsencrypt/live\n"
msgstr ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.gd.po b/support/documentation/po/livechat.gd.po
index d7d1cbcd..92efedb9 100644
--- a/support/documentation/po/livechat.gd.po
+++ b/support/documentation/po/livechat.gd.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.gl.po b/support/documentation/po/livechat.gl.po
index f3459729..545349f9 100644
--- a/support/documentation/po/livechat.gl.po
+++ b/support/documentation/po/livechat.gl.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.hr.po b/support/documentation/po/livechat.hr.po
index 985608c4..1a732cc8 100644
--- a/support/documentation/po/livechat.hr.po
+++ b/support/documentation/po/livechat.hr.po
@@ -1451,7 +1451,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.hu.po b/support/documentation/po/livechat.hu.po
index 34bee9cd..46e9d2e1 100644
--- a/support/documentation/po/livechat.hu.po
+++ b/support/documentation/po/livechat.hu.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.is.po b/support/documentation/po/livechat.is.po
index 29124fcc..f3f83190 100644
--- a/support/documentation/po/livechat.is.po
+++ b/support/documentation/po/livechat.is.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.it.po b/support/documentation/po/livechat.it.po
index 1a45006f..9ea1ed6b 100644
--- a/support/documentation/po/livechat.it.po
+++ b/support/documentation/po/livechat.it.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.ja.po b/support/documentation/po/livechat.ja.po
index 49af0449..e821bbd9 100644
--- a/support/documentation/po/livechat.ja.po
+++ b/support/documentation/po/livechat.ja.po
@@ -1481,7 +1481,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.kab.po b/support/documentation/po/livechat.kab.po
index 4c9325b7..2fd0e57d 100644
--- a/support/documentation/po/livechat.kab.po
+++ b/support/documentation/po/livechat.kab.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.nb.po b/support/documentation/po/livechat.nb.po
index c67a1f4d..19e177ab 100644
--- a/support/documentation/po/livechat.nb.po
+++ b/support/documentation/po/livechat.nb.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.nl.po b/support/documentation/po/livechat.nl.po
index f0288977..c3b77733 100644
--- a/support/documentation/po/livechat.nl.po
+++ b/support/documentation/po/livechat.nl.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.nn.po b/support/documentation/po/livechat.nn.po
index 9c4aad73..0470d27d 100644
--- a/support/documentation/po/livechat.nn.po
+++ b/support/documentation/po/livechat.nn.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.oc.po b/support/documentation/po/livechat.oc.po
index cbb1956a..e097aa50 100644
--- a/support/documentation/po/livechat.oc.po
+++ b/support/documentation/po/livechat.oc.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.pl.po b/support/documentation/po/livechat.pl.po
index e5ac8bed..c4fce243 100644
--- a/support/documentation/po/livechat.pl.po
+++ b/support/documentation/po/livechat.pl.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.pt-BR.po b/support/documentation/po/livechat.pt-BR.po
index 17d7abb9..eb5471da 100644
--- a/support/documentation/po/livechat.pt-BR.po
+++ b/support/documentation/po/livechat.pt-BR.po
@@ -1940,7 +1940,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.pt-PT.po b/support/documentation/po/livechat.pt-PT.po
index 36f8fb35..3d0c87db 100644
--- a/support/documentation/po/livechat.pt-PT.po
+++ b/support/documentation/po/livechat.pt-PT.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.ru.po b/support/documentation/po/livechat.ru.po
index 868d18c5..af98df1e 100644
--- a/support/documentation/po/livechat.ru.po
+++ b/support/documentation/po/livechat.ru.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.sq.po b/support/documentation/po/livechat.sq.po
index 6e5dc38f..1fa9259b 100644
--- a/support/documentation/po/livechat.sq.po
+++ b/support/documentation/po/livechat.sq.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.sv.po b/support/documentation/po/livechat.sv.po
index 9d90f235..27434d5f 100644
--- a/support/documentation/po/livechat.sv.po
+++ b/support/documentation/po/livechat.sv.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.th.po b/support/documentation/po/livechat.th.po
index bdc3be68..387be30b 100644
--- a/support/documentation/po/livechat.th.po
+++ b/support/documentation/po/livechat.th.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.tok.po b/support/documentation/po/livechat.tok.po
index 5d46b6ea..631cd0b5 100644
--- a/support/documentation/po/livechat.tok.po
+++ b/support/documentation/po/livechat.tok.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.tr.po b/support/documentation/po/livechat.tr.po
index 9e15b447..e1420939 100644
--- a/support/documentation/po/livechat.tr.po
+++ b/support/documentation/po/livechat.tr.po
@@ -1430,7 +1430,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.uk.po b/support/documentation/po/livechat.uk.po
index 04cbc485..d08f17ae 100644
--- a/support/documentation/po/livechat.uk.po
+++ b/support/documentation/po/livechat.uk.po
@@ -1451,7 +1451,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.vi.po b/support/documentation/po/livechat.vi.po
index 69402937..85b9aeaa 100644
--- a/support/documentation/po/livechat.vi.po
+++ b/support/documentation/po/livechat.vi.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.zh-Hans.po b/support/documentation/po/livechat.zh-Hans.po
index 901a4eb1..b5b13961 100644
--- a/support/documentation/po/livechat.zh-Hans.po
+++ b/support/documentation/po/livechat.zh-Hans.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
diff --git a/support/documentation/po/livechat.zh-Hant.po b/support/documentation/po/livechat.zh-Hant.po
index 065dd542..d0de095c 100644
--- a/support/documentation/po/livechat.zh-Hant.po
+++ b/support/documentation/po/livechat.zh-Hant.po
@@ -1449,7 +1449,7 @@ msgstr ""
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
-"#!/bin/sh\n"
+"#!/usr/bin/env sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"