diff options
author | xXR01I1Xx | 2020-03-06 19:22:50 +0100 |
---|---|---|
committer | xXR01I1Xx | 2020-03-06 19:22:50 +0100 |
commit | 2a86f331b00f40870f780cad7280a9d616f7c7f8 (patch) | |
tree | 630a876aa53da0e297b753bcbacc3fb625dd3052 /session-desktop.install | |
parent | a5ec99297ec1e5ae59fecb3f348a212cf1c4d5ce (diff) | |
download | aur-2a86f331b00f40870f780cad7280a9d616f7c7f8.tar.gz |
Updated to Session-desktop-1.0.4 and changed a few things
Diffstat (limited to 'session-desktop.install')
-rw-r--r-- | session-desktop.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/session-desktop.install b/session-desktop.install index 02526456fb3c..b32944659668 100644 --- a/session-desktop.install +++ b/session-desktop.install @@ -5,3 +5,19 @@ post_install() { post_remove() { sudo rm /usr/bin/session-messenger-desktop } + +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + ln -sf '/opt/Session/session-messenger-desktop' '/usr/bin/session-messenger-desktop' + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + rm -f '/usr/bin/session-messenger-desktop' + update-desktop-database -q +} |