Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
FUSS
fuss-software
Commits
d072474a
Commit
d072474a
authored
Oct 25, 2019
by
Elena Grandi
Browse files
Remove fuss-desktop.postinst, completely migrated to fuss-client
parent
167c0de5
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian/fuss-desktop.postinst
deleted
100644 → 0
View file @
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment