summarylogtreecommitdiffstats
path: root/idos-timetable-browser.install
blob: 8655c693512d79ef5c4ac8eaec2ee2f7a4408dff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
post_install() {
  if locale -a | grep -Eq '^cs_CZ'; then
    echo "====>"
    echo "  A Czech locale (cs_CZ*) seems to be present. Fine. please keep it in order"
    echo "  to keep diacritical characters displaying correctly."
    echo "<===="
  else
    echo "====>"
    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."
    echo "<===="
  fi
}

post_upgrade() {
  post_install "$@"
}

post_remove() {
  true
}