File: miwm.postinst

package info (click to toggle)
miwm 1.1-6
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,296 kB
  • ctags: 910
  • sloc: cpp: 8,179; sh: 231; makefile: 148
file content (40 lines) | stat: -rwxr-xr-x 460 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/sh
# miwm.postinst

PATH=/usr/bin:$PATH

set -e

GENERICBIN=/usr/bin/x-window-manager
ETCALT=x-window-manager
BIN=/usr/bin/miwm
PRIORITY=20

Warn ()
{
    echo "$@" >&2
}

Alternatives ()
{
    update-alternatives --install $GENERICBIN $ETCALT $BIN $PRIORITY
}

Debhelper ()
{
    :
    # Automatically generated
    #DEBHELPER#
}

Main ()
{
    if [ "$1" = "configure" ] ; then
        Alternatives
        Debhelper
    fi
}

Main "$@"

# End of file