Bugfix - remove not needed trap
Its just a potential trap for creating all locales which can takes hours to complete.
This commit is contained in:
parent
56be68b38c
commit
425aea17b8
@ -82,24 +82,6 @@ set_timezone_and_locales()
|
||||
locale-gen $LOCALES > /dev/null 2>&1
|
||||
update-locale LANG=$LOCALES LANGUAGE=$LOCALES LC=$LOCALES LC_MESSAGES=$LOCALES
|
||||
|
||||
else
|
||||
|
||||
while true; do
|
||||
echo ""
|
||||
read -p "Do you wish to set time zone and locales? [No]" yn
|
||||
if [ -z $yn ]; then yn=no; fi
|
||||
case $yn in
|
||||
[Yy]* )
|
||||
dpkg-reconfigure tzdata
|
||||
dpkg-reconfigure locales
|
||||
break
|
||||
;;
|
||||
[Nn]* )
|
||||
break
|
||||
;;
|
||||
* ) echo "Please answer yes or no.";;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user