File: rxvt-unicode.preinst

package info (click to toggle)
rxvt-unicode 9.31-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,720 kB
  • sloc: ansic: 46,693; cpp: 17,560; perl: 3,532; makefile: 407; sh: 381
file content (14 lines) | stat: -rw-r--r-- 349 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e

case $1 in
    upgrade)
        # clean up after old versions, unless the admin chose urxvtcd
        if ! update-alternatives --query x-terminal-emulator | grep -q \
                '^Value: /usr/bin/urxvtcd$'; then
            update-alternatives --remove x-terminal-emulator /usr/bin/urxvtcd
        fi
    ;;
esac

#DEBHELPER#