summarylogtreecommitdiffstats
path: root/korla-icon-theme.install
diff options
context:
space:
mode:
authordigitalone2019-04-11 14:10:41 +0200
committerdigitalone2019-04-11 14:10:41 +0200
commit730d079345db594d67965b69e8d5d930c9a1ea94 (patch)
treeb97f605d1518be032b226a7afdc9c91ace5e4520 /korla-icon-theme.install
parent2459ac84412d7d4109d551768e6af40e6c068b1b (diff)
downloadaur-730d079345db594d67965b69e8d5d930c9a1ea94.tar.gz
install script added; license and readme saved to usr/share directories
Diffstat (limited to 'korla-icon-theme.install')
-rw-r--r--korla-icon-theme.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/korla-icon-theme.install b/korla-icon-theme.install
new file mode 100644
index 000000000000..e3e460d00470
--- /dev/null
+++ b/korla-icon-theme.install
@@ -0,0 +1,14 @@
+_iconpath=usr/share/icons
+
+_gtk_icon_cache() {
+ gtk-update-icon-cache -f -t "/$_iconpath/korla/"
+ gtk-update-icon-cache -f -t "/$_iconpath/korla-light/"
+}
+
+post_install() {
+ _gtk_icon_cache
+}
+
+post_upgrade() {
+ _gtk_icon_cache
+}