#!/bin/sh set -e case "$1" in configure) mkdir -p /usr/share/locale/es/LC_MESSAGES/ mkdir -p /usr/share/locale/ca_ES@valencia/LC_MESSAGES/ cp /usr/share/mini-light-client-extras/locale/es/ldm.mo /usr/share/locale/es/LC_MESSAGES/ cp /usr/share/mini-light-client-extras/locale/ca_ES@valencia/ldm.mo /usr/share/locale/ca_ES@valencia/LC_MESSAGES/ locale-gen --no-purge --lang es || true locale-gen --no-purge --lang ca || true mkdir -p /usr/share/ltsp/screen.d/ cp /usr/share/mini-light-client-extras/ldm /usr/share/ltsp/screen.d/ldm || true /usr/share/ltsp/update-kernels || true ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0