File: postinst

package info (click to toggle)
chrome-gnome-shell 10.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 1,440 kB
  • sloc: python: 444; sh: 18; makefile: 11
file content (12 lines) | stat: -rw-r--r-- 295 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

#DEBHELPER#

mkdir -p /etc/opt/chrome/native-messaging-hosts
if [ ! -e /etc/opt/chrome/native-messaging-hosts/org.gnome.chrome_gnome_shell.json ]; then
  ln -sf /usr/share/chrome-gnome-shell/org.gnome.chrome_gnome_shell.json /etc/opt/chrome/native-messaging-hosts/
fi

exit 0