diff options
author | Peinthor Rene | 2015-06-09 13:42:15 +0200 |
---|---|---|
committer | Peinthor Rene | 2015-06-09 13:42:15 +0200 |
commit | e33c79a6ff83e7446627a3616014f996900ef49a (patch) | |
tree | d0a5348691083f2694a587896ff174cf75caf89d /smartsvn.install | |
download | aur-e33c79a6ff83e7446627a3616014f996900ef49a.tar.gz |
initial import
Diffstat (limited to 'smartsvn.install')
-rw-r--r-- | smartsvn.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/smartsvn.install b/smartsvn.install new file mode 100644 index 000000000000..ab8ee4dadc97 --- /dev/null +++ b/smartsvn.install @@ -0,0 +1,20 @@ +post_install() { + chmod 755 /opt/smartsvn/bin/smartsvn.sh + ln -s /opt/smartsvn/bin/smartsvn.sh /usr/bin/smartsvn + + echo "update desktop mime database..." + update-desktop-database + gtk-update-icon-cache -f /usr/share/icons/hicolor/ +} + +post_upgrade() { + gtk-update-icon-cache -f /usr/share/icons/hicolor/ +} + +post_remove() { + rm -rf /opt/smartsvn + unlink /usr/bin/smartsvn + update-desktop-database + gtk-update-icon-cache -f /usr/share/icons/hicolor/ +} + |