system/localepurge: Fixed config file install.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2017-08-05 21:40:26 +01:00 committed by Willy Sudiarto Raharjo
parent ebe97f3cf2
commit ccb9986dbb

View file

@ -80,7 +80,7 @@ patch -uN debian/localepurge.config < $CWD/localepurge.config.diff
install -D -m755 usr/sbin/localepurge $PKG/usr/bin/localepurge
install -D -m644 debian/localepurge.8 $PKG/usr/man/man8/localepurge.8
install -D -m755 debian/localepurge.config $PKG/usr/bin/localepurge-config
install -D -m644 $CWD/locale.nopurge $PKG/etc/locale.nopurge
install -D -m644 $CWD/locale.nopurge $PKG/etc/locale.nopurge.new
if [ ! -e /var/cache/localepurge/localelist ]; then
find /usr/share/locale -maxdepth 1 -type d -name "*" -printf "%f\n" | grep "^[a-z]" | cut -d" " -f1 | sort -u > $CWD/localelist