--- a/MozillaFirefox/mozilla.sh.in Sat Feb 05 15:04:53 2022 +0100
+++ b/MozillaFirefox/mozilla.sh.in Wed Mar 02 15:34:50 2022 +0100
@@ -100,7 +100,7 @@
fi
# xinput2 (boo#1173320)
-source /etc/os-release
+. /etc/os-release
if [ "$ID" = "opensuse-tumbleweed" ]; then
export MOZ_USE_XINPUT2=1
fi
@@ -151,7 +151,7 @@
# Try with a local variant first, then without a local variant
SHORTMOZLOCALE=`echo $CURRENT_LOCALE | sed "s|_\([^.]*\).*||g" | sed "s|\..*||g"`
MOZLOCALE=`echo $CURRENT_LOCALE | sed "s|_\([^.]*\).*|-\1|g" | sed "s|\..*||g"`
- function create_langpack_link() {
+ create_langpack_link() {
local language=$*
local langpack=langpack-${language}@firefox.mozilla.org.xpi
if [ -f $MOZ_LANGPACKS_DIR/$langpack ]; then