diff options
author | felics@felics-tablet | 2016-05-20 10:24:23 +0200 |
---|---|---|
committer | felics@felics-tablet | 2016-05-20 10:24:23 +0200 |
commit | 891e4cad1e0f38cf5ab40b87822bb33989420d76 (patch) | |
tree | 57133262a374b176e23b37c2b42fd816451cc947 /idos-timetable-browser.install | |
parent | 55a6345b709659e2274d62bed8587a9ab6d24752 (diff) | |
download | aur-891e4cad1e0f38cf5ab40b87822bb33989420d76.tar.gz |
Added information about locales, starting with Czech locale if installed, in order to display diacritical characters correctly.
Diffstat (limited to 'idos-timetable-browser.install')
-rw-r--r-- | idos-timetable-browser.install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/idos-timetable-browser.install b/idos-timetable-browser.install new file mode 100644 index 000000000000..0549175405bc --- /dev/null +++ b/idos-timetable-browser.install @@ -0,0 +1,19 @@ +post_install() { + if locale -a | grep -Eq '^cs_CZ'; then + echo "====> A Czech locale (cs_CZ*) seems to be present. Fine. please keep it in order" + echo "<==== to keep diacritical characters displaying correctly." + else + echo "====> It is recommended to generate the locale cs_CZ.ISO.UTF-8 or cs_CZ.ISO-8859-2" + echo " in order to display diacritical characters correctly." + echo " In order to do so, edit /etc/locale.gen, if present /etc/locale.nopurge, and" + echo "<==== then run locale-gen." + fi +} + +post_upgrade() { + post_install "$@" +} + +post_remove() { + true +} |