summarylogtreecommitdiffstats
path: root/megasync.install
diff options
context:
space:
mode:
authorAlfonso Saavedra Son2016-03-13 13:28:23 +0100
committerAlfonso Saavedra Son2016-03-13 13:28:23 +0100
commit8f82b9d9665e417fa7db8cb98636adbb727633fc (patch)
treeb83aa40a732bfa8fab69033f8c8c6479684242af /megasync.install
parent5829f2bb05f7457675aacc3e5b7e99fa94a46ffb (diff)
downloadaur-8f82b9d9665e417fa7db8cb98636adbb727633fc.tar.gz
Now compile from te source code
Diffstat (limited to 'megasync.install')
-rw-r--r--megasync.install17
1 files changed, 6 insertions, 11 deletions
diff --git a/megasync.install b/megasync.install
index 175683f02810..16b1a3fdf912 100644
--- a/megasync.install
+++ b/megasync.install
@@ -1,17 +1,12 @@
-# megasync.install
-
-
post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
- ln -s /usr/lib/libcryptopp.so /usr/lib/libcryptopp-5.6.2.so.0
}
-
+
post_upgrade() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ post_install
}
-
+
post_remove() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
- rm /usr/lib/libcryptopp-5.6.2.so.0
-}
+ post_install
+} \ No newline at end of file