This repository has been archived on 2023-01-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
CustomDebian11LiveISO_GUI/config/hooks/normal/0500-localepurge.hook.chroot
2020-04-13 16:17:43 +02:00

11 lines
305 B
Bash
Executable File

#!/bin/bash
echo "I: running $0"
locale-gen --keep-existing
# USE_DPKG must be disabled in localepurge configuration before running manually, else it will do nothing
sed -i 's/^USE_DPKG/#USE_DPKG/' /etc/locale.nopurge
localepurge
# re-enable USE_DPKG
sed -i 's/^#USE_DPKG/USE_DPKG/' /etc/locale.nopurge