blob: 249587b2825712aaa3823ff5a2cf7e90091ee522 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
msg_blue() {
printf "${blue}==>${bold} $1${all_off}\n"
}
_update() {
msg_blue "Updating desktop MIME database..."
update-desktop-database -q
}
post_install() {
ln -sf /opt/MessengerForDesktop/Messenger /usr/local/bin/messengerfordesktop
_update
}
post_upgrade() {
_update
}
post_remove() {
rm -f /usr/local/bin/messengerfordesktop
rm -f /usr/share/applications/messengerfordesktop.desktop
_update
}
|