summarylogtreecommitdiffstats
path: root/fusion-icon-git.install
diff options
context:
space:
mode:
authorShadowKyogre2016-06-18 12:29:03 -0700
committerShadowKyogre2016-06-18 12:29:03 -0700
commitea5a89df564082dd4262cece64e44ac3bb6da93c (patch)
treec1206e865ca98e3b1f8c7287e6fab3bac5b4d5b2 /fusion-icon-git.install
downloadaur-ea5a89df564082dd4262cece64e44ac3bb6da93c.tar.gz
First commit
Diffstat (limited to 'fusion-icon-git.install')
-rw-r--r--fusion-icon-git.install26
1 files changed, 26 insertions, 0 deletions
diff --git a/fusion-icon-git.install b/fusion-icon-git.install
new file mode 100644
index 000000000000..fe5baf3250da
--- /dev/null
+++ b/fusion-icon-git.install
@@ -0,0 +1,26 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ cat <<EOF
+Before you run this, make sure to install the listed optional dependencies
+depending on the interface you want to use. After you've installed the
+appropriate dependencies for the interfaces you want to use, take note of the
+following below.
+
+If you want to use the Qt Interface, use:
+ fusion-icon -i qt
+
+If you want to use the GTK+ Interface, use:
+ fusion-icon -i gtk
+
+Otherwise, fusion-icon will attempt to use the first interface it can find,
+with GTK+ taking higher priority.
+EOF
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}