summarylogtreecommitdiffstats
path: root/idos-timetable-browser.install
diff options
context:
space:
mode:
Diffstat (limited to 'idos-timetable-browser.install')
-rw-r--r--idos-timetable-browser.install19
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
+}