summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-07-19 10:04:45 +0200
committerDaniel Baumann <daniel@debian.org>2011-07-19 10:04:45 +0200
commitcff7687442f6cf49e5f74287d80c5a84341f930a (patch)
treeacb334c23d06c1774b88016c26c9a56f5150bc69
parent285f8d50fd530c75d1a5fa35e557348a1ef5cc28 (diff)
downloadvyos-live-build-cff7687442f6cf49e5f74287d80c5a84341f930a.tar.gz
vyos-live-build-cff7687442f6cf49e5f74287d80c5a84341f930a.zip
Adding hook for removing gnome icon cache, thanks to Colin Watson <cjwatson@ubuntu.com> (Closes: #630088).
-rwxr-xr-xshare/hooks/remove-gnome-icon-cache.chroot9
1 files changed, 9 insertions, 0 deletions
diff --git a/share/hooks/remove-gnome-icon-cache.chroot b/share/hooks/remove-gnome-icon-cache.chroot
new file mode 100755
index 000000000..f562fd939
--- /dev/null
+++ b/share/hooks/remove-gnome-icon-cache.chroot
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+# Remove GNOME icon cache.
+#
+# This saves space some space (e.g. on Kubuntu).
+
+rm -f /usr/share/icons/*/icon-theme.cache