File: notion.postinst

package info (click to toggle)
notion 4.0.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,656 kB
  • sloc: ansic: 47,365; sh: 2,093; makefile: 595; perl: 270
file content (13 lines) | stat: -rw-r--r-- 422 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
set -e

update-alternatives --install \
    /usr/bin/x-window-manager x-window-manager /usr/bin/notion 49 \
    --slave /usr/share/man/man1/x-window-manager.1.gz x-window-manager.1.gz \
    /usr/share/man/man1/notion.1.gz

# Required for update-menus to pick it up. The "normal" path handles the
# /etc/menu-methods/notion file only, so I do this myself here
chmod a+x /etc/menu-methods/notion-i18n

#DEBHELPER#