You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
413 B
Plaintext
20 lines
413 B
Plaintext
post_install() {
|
|
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
|
|
|
|
# Link to the binary
|
|
ln -sf '/opt/Signal Beta/signal-desktop-beta' '/usr/bin/signal-desktop-beta'
|
|
update-desktop-database -q
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install
|
|
}
|
|
|
|
post_remove() {
|
|
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
|
|
|
|
# Delete the link to the binary
|
|
rm -f '/usr/bin/signal-desktop-beta'
|
|
update-desktop-database -q
|
|
}
|