##// END OF EJS Templates
Fixed DEFLOCAL shell var substitution while sed-ing /etc/locale.gen
Vincent Knecht -
r24:8ff1a20fef99
parent child
Show More
@@ -220,7 +220,7 LANG=C chroot $R dpkg-reconfigure -f noninteractive tzdata
220
220
221 # Set up default locales to "en_US.UTF-8" default
221 # Set up default locales to "en_US.UTF-8" default
222 if [ "$ENABLE_MINBASE" = false ] ; then
222 if [ "$ENABLE_MINBASE" = false ] ; then
223 LANG=C chroot $R sed -i '/${DEFLOCAL}/s/^#//' /etc/locale.gen
223 LANG=C chroot $R sed -i "/${DEFLOCAL}/s/^#//" /etc/locale.gen
224 LANG=C chroot $R locale-gen ${DEFLOCAL}
224 LANG=C chroot $R locale-gen ${DEFLOCAL}
225 fi
225 fi
226
226
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant