summaryrefslogtreecommitdiffstats
path: root/abs/extra/google-chrome/google-chrome.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/google-chrome/google-chrome.install')
-rw-r--r--abs/extra/google-chrome/google-chrome.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/abs/extra/google-chrome/google-chrome.install b/abs/extra/google-chrome/google-chrome.install
new file mode 100644
index 0000000..c5c7d50
--- /dev/null
+++ b/abs/extra/google-chrome/google-chrome.install
@@ -0,0 +1,17 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ if [ ! -a /usr/bin/chromium ]; then
+ ln -s /usr/bin/google-chrome /usr/bin/chromium
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ if [ -h /usr/bin/chromium ]; then
+ rm /usr/bin/chromium
+ fi
+}