summaryrefslogtreecommitdiff
path: root/share/hooks/normal/0130-remove-gnome-icon-cache.hook.chroot
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-05-20 08:19:39 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2015-05-20 08:19:56 +0200
commit50794b1de1b0211ee4c040a83bba9a5f3148d066 (patch)
tree81416e66e8478945470b097fd69436ef9fe98625 /share/hooks/normal/0130-remove-gnome-icon-cache.hook.chroot
parent3c303e7f53f7843c1f621d0889c4c6fec241ffbf (diff)
downloadvyos-live-build-50794b1de1b0211ee4c040a83bba9a5f3148d066.tar.gz
vyos-live-build-50794b1de1b0211ee4c040a83bba9a5f3148d066.zip
Splitting non-live specific hooks into their own subdirectory within hooks.
Diffstat (limited to 'share/hooks/normal/0130-remove-gnome-icon-cache.hook.chroot')
-rwxr-xr-xshare/hooks/normal/0130-remove-gnome-icon-cache.hook.chroot9
1 files changed, 9 insertions, 0 deletions
diff --git a/share/hooks/normal/0130-remove-gnome-icon-cache.hook.chroot b/share/hooks/normal/0130-remove-gnome-icon-cache.hook.chroot
new file mode 100755
index 000000000..ab35a1d68
--- /dev/null
+++ b/share/hooks/normal/0130-remove-gnome-icon-cache.hook.chroot
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+# Remove GNOME icon cache.
+#
+# This saves space some space.
+
+rm -f /usr/share/icons/*/icon-theme.cache