This file is indexed.

preinst is in sgt-launcher 0.2.4-0ubuntu1.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
if [ upgrade != "$1" ] || dpkg --compare-versions "$2" lt 1.0-2; then
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-blackbox.desktop.orig /usr/share/applications/sgt-blackbox.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-bridges.desktop.orig /usr/share/applications/sgt-bridges.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-cube.desktop.orig /usr/share/applications/sgt-cube.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-dominosa.desktop.orig /usr/share/applications/sgt-dominosa.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-fifteen.desktop.orig /usr/share/applications/sgt-fifteen.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-filling.desktop.orig /usr/share/applications/sgt-filling.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-flip.desktop.orig /usr/share/applications/sgt-flip.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-flood.desktop.orig /usr/share/applications/sgt-flood.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-galaxies.desktop.orig /usr/share/applications/sgt-galaxies.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-guess.desktop.orig /usr/share/applications/sgt-guess.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-inertia.desktop.orig /usr/share/applications/sgt-inertia.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-keen.desktop.orig /usr/share/applications/sgt-keen.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-lightup.desktop.orig /usr/share/applications/sgt-lightup.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-loopy.desktop.orig /usr/share/applications/sgt-loopy.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-magnets.desktop.orig /usr/share/applications/sgt-magnets.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-map.desktop.orig /usr/share/applications/sgt-map.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-mines.desktop.orig /usr/share/applications/sgt-mines.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-net.desktop.orig /usr/share/applications/sgt-net.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-netslide.desktop.orig /usr/share/applications/sgt-netslide.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-palisade.desktop.orig /usr/share/applications/sgt-palisade.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-pattern.desktop.orig /usr/share/applications/sgt-pattern.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-pearl.desktop.orig /usr/share/applications/sgt-pearl.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-pegs.desktop.orig /usr/share/applications/sgt-pegs.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-range.desktop.orig /usr/share/applications/sgt-range.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-rect.desktop.orig /usr/share/applications/sgt-rect.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-samegame.desktop.orig /usr/share/applications/sgt-samegame.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-signpost.desktop.orig /usr/share/applications/sgt-signpost.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-singles.desktop.orig /usr/share/applications/sgt-singles.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-sixteen.desktop.orig /usr/share/applications/sgt-sixteen.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-slant.desktop.orig /usr/share/applications/sgt-slant.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-solo.desktop.orig /usr/share/applications/sgt-solo.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-tents.desktop.orig /usr/share/applications/sgt-tents.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-towers.desktop.orig /usr/share/applications/sgt-towers.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-tracks.desktop.orig /usr/share/applications/sgt-tracks.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-twiddle.desktop.orig /usr/share/applications/sgt-twiddle.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-undead.desktop.orig /usr/share/applications/sgt-undead.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-unequal.desktop.orig /usr/share/applications/sgt-unequal.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-unruly.desktop.orig /usr/share/applications/sgt-unruly.desktop
    dpkg-divert --package sgt-launcher --add --rename \
       --divert /usr/share/applications/sgt-untangle.desktop.orig /usr/share/applications/sgt-untangle.desktop
fi