File: notion.prerm

package info (click to toggle)
notion 4.0.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 4,656 kB
  • sloc: ansic: 47,365; sh: 2,093; makefile: 594; perl: 270
file content (14 lines) | stat: -rw-r--r-- 329 bytes parent folder | download | duplicates (7)
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#