diff --git a/modlists/shrink-singlelanguage b/modlists/shrink-singlelanguage new file mode 100644 index 0000000..e34999f --- /dev/null +++ b/modlists/shrink-singlelanguage @@ -0,0 +1 @@ +single-language \ No newline at end of file diff --git a/mods/single-language/data/etc/dpkg/dpkg.cfg.d/singlelanguage b/mods/single-language/data/etc/dpkg/dpkg.cfg.d/singlelanguage new file mode 100644 index 0000000..0f338d7 --- /dev/null +++ b/mods/single-language/data/etc/dpkg/dpkg.cfg.d/singlelanguage @@ -0,0 +1,4 @@ +path-exclude /usr/share/locale/* +path-include /usr/share/locale/en/* +path-include /usr/share/locale/en_GB/* +path-include /usr/share/locale/en_US/* \ No newline at end of file diff --git a/mods/single-language/modscript b/mods/single-language/modscript new file mode 100755 index 0000000..8e3d608 --- /dev/null +++ b/mods/single-language/modscript @@ -0,0 +1,2 @@ +#!/bin/bash +find "$1/usr/share/locale" -mindepth 1 -maxdepth 1 ! -name "en" ! -name "en_US" ! -name "en_GB" | xargs rm -r \ No newline at end of file