File: notion.prerm

package info (click to toggle)
notion 3%2B2014010901-1
  • links: PTS, VCS
  • area: non-free
  • in suites: jessie, jessie-kfreebsd
  • size: 4,940 kB
  • ctags: 6,104
  • sloc: ansic: 46,870; sh: 2,008; makefile: 598; perl: 270
file content (14 lines) | stat: -rw-r--r-- 329 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e

if [ "$1" = remove ] || [ "$1" = deconfigure ]; then
    update-alternatives --remove x-window-manager /usr/bin/notion
    update-alternatives --remove notion /usr/bin/notion
fi

if [ "$1" = remove ]; then
    rm -f /var/lib/notion/debian-menu.lua
    rm -f /var/lib/notion/debian-menu-i18n.lua
fi

#DEBHELPER#