blob: 28f802511d0a29da8e97a3962224a8ebb4511df2 (
plain)
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
#!/bin/sh
# prerm script for itzks-systems-smartboard
#
# see: dh_installdeb(1)
# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
set -e
SMARTBOARD_CHROOT="/srv/schroot/precise-i386-smartboard-ITZkS"
ICON_SYMLINKS="
128x128/mimetypes/application-x-smarttech-galleryitem.png\n
128x128/mimetypes/application-x-smarttech-gallery.png\n
128x128/mimetypes/gnome-mime-application-x-smarttech-notebook.png\n
128x128/mimetypes/gnome-mime-application-x-smarttech-gallery.png\n
128x128/mimetypes/application-x-smarttech-notebook.png\n
128x128/mimetypes/gnome-mime-application-x-smarttech-galleryitem.png\n
128x128/apps/SMART_Orient.png\n
128x128/apps/SMART_Notebook.png\n
128x128/apps/SMART_Pointer.png\n
128x128/apps/SMART_Keyboard.png\n
128x128/apps/SMART_ScreenCapture.png\n
128x128/apps/SMART_ControlPanel.png\n
128x128/apps/SMART_ScreenShade.png\n
128x128/apps/SMART_Spotlight.png\n
128x128/apps/SMART_Magnifier.png\n
16x16/mimetypes/application-x-smarttech-galleryitem.png\n
16x16/mimetypes/application-x-smarttech-gallery.png\n
16x16/mimetypes/gnome-mime-application-x-smarttech-notebook.png\n
16x16/mimetypes/gnome-mime-application-x-smarttech-gallery.png\n
16x16/mimetypes/application-x-smarttech-notebook.png\n
16x16/mimetypes/gnome-mime-application-x-smarttech-galleryitem.png\n
16x16/apps/SMART_Orient.png\n
16x16/apps/SMART_Notebook.png\n
16x16/apps/SMART_Pointer.png\n
16x16/apps/SMART_Keyboard.png\n
16x16/apps/SMART_ScreenCapture.png\n
16x16/apps/SMART_ControlPanel.png\n
16x16/apps/SMART_ScreenShade.png\n
16x16/apps/SMART_Spotlight.png\n
16x16/apps/SMART_Magnifier.png\n
22x22/mimetypes/application-x-smarttech-galleryitem.png\n
22x22/mimetypes/application-x-smarttech-gallery.png\n
22x22/mimetypes/gnome-mime-application-x-smarttech-notebook.png\n
22x22/mimetypes/gnome-mime-application-x-smarttech-gallery.png\n
22x22/mimetypes/application-x-smarttech-notebook.png\n
22x22/mimetypes/gnome-mime-application-x-smarttech-galleryitem.png\n
22x22/apps/SMART_Orient.png\n
22x22/apps/SMART_Notebook.png\n
22x22/apps/SMART_Pointer.png\n
22x22/apps/SMART_Keyboard.png\n
22x22/apps/SMART_ScreenCapture.png\n
22x22/apps/SMART_ControlPanel.png\n
22x22/apps/SMART_ScreenShade.png\n
22x22/apps/SMART_Spotlight.png\n
22x22/apps/SMART_Magnifier.png\n
32x32/mimetypes/application-x-smarttech-galleryitem.png\n
32x32/mimetypes/application-x-smarttech-gallery.png\n
32x32/mimetypes/gnome-mime-application-x-smarttech-notebook.png\n
32x32/mimetypes/gnome-mime-application-x-smarttech-gallery.png\n
32x32/mimetypes/application-x-smarttech-notebook.png\n
32x32/mimetypes/gnome-mime-application-x-smarttech-galleryitem.png\n
32x32/apps/SMART_Orient.png\n
32x32/apps/SMART_Notebook.png\n
32x32/apps/SMART_Pointer.png\n
32x32/apps/SMART_Keyboard.png\n
32x32/apps/SMART_ScreenCapture.png\n
32x32/apps/SMART_ControlPanel.png\n
32x32/apps/SMART_ScreenShade.png\n
32x32/apps/SMART_Spotlight.png\n
32x32/apps/SMART_Magnifier.png\n
48x48/mimetypes/application-x-smarttech-galleryitem.png\n
48x48/mimetypes/application-x-smarttech-gallery.png\n
48x48/mimetypes/gnome-mime-application-x-smarttech-notebook.png\n
48x48/mimetypes/gnome-mime-application-x-smarttech-gallery.png\n
48x48/mimetypes/application-x-smarttech-notebook.png\n
48x48/mimetypes/gnome-mime-application-x-smarttech-galleryitem.png\n
48x48/apps/SMART_Orient.png\n
48x48/apps/SMART_Notebook.png\n
48x48/apps/SMART_Pointer.png\n
48x48/apps/SMART_Keyboard.png\n
48x48/apps/SMART_ScreenCapture.png\n
48x48/apps/SMART_ControlPanel.png\n
48x48/apps/SMART_ScreenShade.png\n
48x48/apps/SMART_Spotlight.png\n
48x48/apps/SMART_Magnifier.png\n
22x22/apps/SMART_ProductUpdate.png\n
22x22/apps/SMART_Tools.png\n
22x22/apps/SMART_Board_Software.png\n
48x48/apps/SMART_ProductUpdate.png\n
48x48/apps/SMART_Tools.png\n
48x48/apps/SMART_Board_Software.png\n
128x128/apps/SMART_ProductUpdate.png\n
128x128/apps/SMART_Tools.png\n
128x128/apps/SMART_Board_Software.png\n
32x32/apps/SMART_ProductUpdate.png\n
32x32/apps/SMART_Tools.png\n
32x32/apps/SMART_Board_Software.png\n
16x16/apps/SMART_ProductUpdate.png\n
16x16/apps/SMART_Tools.png\n
16x16/apps/SMART_Board_Software.png\n
16x16/apps/SMART_Board_Software.png\n
22x22/apps/SMART_LanguageChooser.png\n
48x48/apps/SMART_LanguageChooser.png\n
128x128/apps/SMART_LanguageChooser.png\n
32x32/apps/SMART_LanguageChooser.png\n
scalable/apps/SMART_LanguageChooser.svg\n
16x16/apps/SMART_LanguageChooser.png
"
case "$1" in
remove)
cd /usr/share/itzks-systems-smartboard
find * -type f | while read path; do
if [ -h /usr/share/$path ] && [ "$(readlink /usr/share/$path)" = "/usr/share/itzks-systems-smartboard/$path" ]; then
rm -f /usr/share/$path
fi
done
cd - 1>/dev/null
printf "$ICON_SYMLINKS" | while read rel_icon_path; do
system_icon_path="/usr/share/icons/hicolor/$rel_icon_path"
if [ -h "$system_icon_path" ]; then
rm "$system_icon_path"
fi
done
update-icon-caches /usr/share/icons/gnome
update-desktop-database
update-mime-database /usr/share/mime
;;
deconfigure|upgrade|failed-upgrade)
:
;;
*) echo "$0: didn't understand being called with \`$1'" 1>&2
exit 1;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
|