blob: fb961a8022a113555bff6f900c4c304de8d7a57f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
post_install() {
update-desktop-database -q
# chrome-sandbox and icudtl.dat aren't included in the prebuilt package,
# so symlink them from an existing Chrome installation
ln -sf /opt/google/chrome/{chrome-sandbox,icudtl.dat} /usr/lib/chromiumos-ui/
cat <<MSG
>>> To use some of the features of the Chromium OS UI, Google API keys
are required. These keys cannot be redistributed and must be created
by the user.
For help on generating these keys, see:
https://www.chromium.org/developers/how-tos/api-keys
To use the Google API keys with Chromium OS UI, create a file named
.googleapikeys
in your home directory.
For information about the format of this file, see:
https://www.chromium.org/chromium-os/how-tos-and-troubleshooting/building-chromium-browser/chrome-api-keys-in-the-chroot
MSG
}
post_upgrade() {
post_install
}
post_remove() {
update-desktop-database -q
rm -f /usr/lib/chromiumos-ui/{chrome-sandbox,icudtl.dat}
}
|