File: notion.postinst

package info (click to toggle)
notion 4.0.2%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,676 kB
  • sloc: ansic: 47,508; sh: 2,096; makefile: 603; perl: 270
file content (16 lines) | stat: -rw-r--r-- 558 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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

# Initialise extra configuration file list if missing
[ -f /etc/X11/notion/cfg_debian_ext.lua ] || >/etc/X11/notion/cfg_debian_ext.lua

# 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#