Skip to content

Commit

Permalink
reconfigure locales if already installed
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed Sep 27, 2016
1 parent 222c759 commit bc2f56a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/simple/hooks/instsoft.DEBIAN
Expand Up @@ -17,4 +17,8 @@ if [ $? -eq 0 ]; then
else
$ROOTCMD apt-get -y install locales > /dev/null
fi
else
# in case the locales are already included inside the base file (Ubuntu)
rm $target/etc/locale.gen
$ROOTCMD dpkg-reconfigure -fnoninteractive locales
fi

0 comments on commit bc2f56a

Please sign in to comment.