Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: GNUser on February 10, 2020, 03:56:41 PM
-
curaga, I created a patch for the getlocale.sh script (part of getlocale.tcz). I hope it's helpful.
The purpose is to give the user a red-letter warning in situations where the script is unlikely to work as intended:
1. if the script is running while a prior mylocale.tcz is loaded
2. if the localedef step fails
3. if the generated mylocale.tcz has a nonsensical size
Any of the above warnings would have prevented me from chasing my tail when using getlocale.tcz in the recent past.
-
The last two are ok, but instead of warning for an existing mylocale.tcz, it should be ok to sudo rm the existing locale archive.
-
I have to admit that's a much better idea. How about this?
-
Thanks! Posted to 11.x x86 and x86_64.