aboutsummaryrefslogtreecommitdiffstats
path: root/elementary-xfce-icons-git.install
diff options
context:
space:
mode:
Diffstat (limited to 'elementary-xfce-icons-git.install')
-rw-r--r--elementary-xfce-icons-git.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/elementary-xfce-icons-git.install b/elementary-xfce-icons-git.install
new file mode 100644
index 0000000..6ec605a
--- /dev/null
+++ b/elementary-xfce-icons-git.install
@@ -0,0 +1,17 @@
+post_install() {
+ cd /usr/share/icons/
+ find -type d -name "elementary-xfce*" -exec gtk-update-icon-cache -qtf {} \;
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+pre_remove() {
+ cd /usr/share/icons/
+ find -type f -path "./elementary-xfce*/icon-theme.cache" -delete
+}