debian/notion.postinst
raw| 1 | #!/bin/sh |
| 2 | set -e |
| 3 | |
| 4 | update-alternatives --install \ |
| 5 | /usr/bin/x-window-manager x-window-manager /usr/bin/notion 49 \ |
| 6 | --slave /usr/share/man/man1/x-window-manager.1.gz x-window-manager.1.gz \ |
| 7 | /usr/share/man/man1/notion.1.gz |
| 8 | |
| 9 | # Required for update-menus to pick it up. The "normal" path handles the |
| 10 | # /etc/menu-methods/notion file only, so I do this myself here |
| 11 | chmod a+x /etc/menu-methods/notion-i18n |
| 12 | |
| 13 | #DEBHELPER# |