Commit d072474a authored by Elena Grandi's avatar Elena Grandi
Browse files

Remove fuss-desktop.postinst, completely migrated to fuss-client

parent 167c0de5
#!/bin/sh
set -e
self="$(basename "$0")"
action="$1"
#DEBHELPER#
case "$action" in
configure)
version="$2"
sed --regexp-extended --expression='
1 {
i\
# This file lists locales that you wish to have built. You can find a list\
# of valid supported locales at /usr/share/i18n/SUPPORTED, and you can add\
# user defined locales to /usr/local/share/i18n/SUPPORTED. If you change\
# this file, you need to rerun locale-gen.\
\
}
/^(en|it|fr|de)(_(US|GB|IT|FR|DE)+)?(\.UTF-8)?(@[^[:space:]]+)?[[:space:]]+UTF-8$/! s/^/# /
' /usr/share/i18n/SUPPORTED > /etc/locale.gen
locale-gen
if localectl ; then
localectl set-locale LC_MESSAGES=it_IT.UTF-8
localectl set-locale LANG=it_IT.UTF-8
localectl set-locale LANGUAGE=it_IT.UTF-8
fi
update-locale --no-checks LANG
update-locale LANG=it_IT.UTF-8
;;
abort-upgrade|abort-remove|abort-remove|abort-deconfigure)
;;
*)
echo "$self: W: unknown action \`$action'" >&2
;;
esac
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment