Skip to content

Commit

Permalink
Live ISO: Keep xkeyboard-config translation
Browse files Browse the repository at this point in the history
The polkit-1 translations are not installed anymore (was a Cockpit dependency)
  • Loading branch information
lslezak committed May 17, 2024
1 parent 9cceba1 commit 7779ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion live/src/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ ls -1 "${IGNORE_OPTS[@]}" -I en_US /usr/share/locale/ | xargs -I% sh -c "echo 'R
ls -1 "${IGNORE_OPTS[@]}" -I "en_US*" -I "C.*" /usr/lib/locale/ | xargs -I% sh -c "echo 'Removing locale %...' && rm -rf /usr/lib/locale/%"

# delete unused translations (MO files)
for t in zypper gettext-runtime p11-kit polkit-1 xkeyboard-config; do
for t in zypper gettext-runtime p11-kit; do
rm /usr/share/locale/*/LC_MESSAGES/$t.mo
done
du -h -s /usr/{share,lib}/locale/
Expand Down

0 comments on commit 7779ee6

Please sign in to comment.