[neon/snap-packaging/snapcraft-desktop-integration/work.core24] kde-neon-6: Fix locale-gen by calling perl directly and point PERL5LIB to the files
Scarlett Moore
null at kde.org
Wed Nov 20 14:23:29 GMT 2024
Git commit 4c8818f6c3b47afafa5053a8262c227c942ed6f4 by Scarlett Moore.
Committed on 20/11/2024 at 14:22.
Pushed by scarlettmoore into branch 'work.core24'.
Fix locale-gen by calling perl directly and point PERL5LIB to the files
in runtime content pack.
M +2 -1 kde-neon-6/launcher-specific
https://invent.kde.org/neon/snap-packaging/snapcraft-desktop-integration/-/commit/4c8818f6c3b47afafa5053a8262c227c942ed6f4
diff --git a/kde-neon-6/launcher-specific b/kde-neon-6/launcher-specific
index 75f736a..24bdf0c 100644
--- a/kde-neon-6/launcher-specific
+++ b/kde-neon-6/launcher-specific
@@ -61,5 +61,6 @@ if [ -e "$SNAP_DESKTOP_RUNTIME/usr/share/i18n" ]; then
locpath="$XDG_DATA_HOME/locale"
ensure_dir_exists "$locpath"
export LOCPATH="$locpath:/usr/lib/locale"
- LC_ALL=C.UTF-8 async_exec "$SNAP_DESKTOP_RUNTIME/snap/command-chain/locale-gen"
+ export PERL5LIB="$SNAP_DESKTOP_RUNTIME/usr/share/perl/5.38.2"
+ LC_ALL=C.UTF-8 async_exec "perl $SNAP_DESKTOP_RUNTIME/snap/command-chain/locale-gen"
fi
More information about the Neon-commits
mailing list