From bbbe6a66dfbedf541903fea1eb327d0f2f10b313 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 28 Nov 2012 17:48:01 +0100 Subject: [PATCH] Using four letter digit prefixes for hooks like for consistency with all other live packages. --- scripts/build/binary_hooks | 2 +- scripts/build/chroot_hooks | 2 +- ...-apt-file-cache.chroot => 0010-update-apt-file-cache.chroot} | 0 ...-xapian-index.chroot => 0020-update-apt-xapian-index.chroot} | 0 ...cate-database.chroot => 0030-update-mlocate-database.chroot} | 0 ...bus-machine-id.chroot => 0040-remove-dbus-machine-id.chroot} | 0 ...me-icon-cache.chroot => 0050-remove-gnome-icon-cache.chroot} | 0 ...-keys.chroot => 0060-remove-openssh-server-host-keys.chroot} | 0 ...007-remove-python-py.chroot => 0070-remove-python-py.chroot} | 0 ...nt-rules.chroot => 0080-remove-udev-persistent-rules.chroot} | 0 ...ources-lists.chroot => 0090-remove-apt-sources-lists.chroot} | 0 ...ge-backups.chroot => 0100-remove-linux-image-backups.chroot} | 0 12 files changed, 2 insertions(+), 2 deletions(-) rename share/hooks/{001-update-apt-file-cache.chroot => 0010-update-apt-file-cache.chroot} (100%) rename share/hooks/{002-update-apt-xapian-index.chroot => 0020-update-apt-xapian-index.chroot} (100%) rename share/hooks/{003-update-mlocate-database.chroot => 0030-update-mlocate-database.chroot} (100%) rename share/hooks/{004-remove-dbus-machine-id.chroot => 0040-remove-dbus-machine-id.chroot} (100%) rename share/hooks/{005-remove-gnome-icon-cache.chroot => 0050-remove-gnome-icon-cache.chroot} (100%) rename share/hooks/{006-remove-openssh-server-host-keys.chroot => 0060-remove-openssh-server-host-keys.chroot} (100%) rename share/hooks/{007-remove-python-py.chroot => 0070-remove-python-py.chroot} (100%) rename share/hooks/{008-remove-udev-persistent-rules.chroot => 0080-remove-udev-persistent-rules.chroot} (100%) rename share/hooks/{009-remove-apt-sources-lists.chroot => 0090-remove-apt-sources-lists.chroot} (100%) rename share/hooks/{010-remove-linux-image-backups.chroot => 0100-remove-linux-image-backups.chroot} (100%) diff --git a/scripts/build/binary_hooks b/scripts/build/binary_hooks index ef47d65dd..8015e7b3d 100755 --- a/scripts/build/binary_hooks +++ b/scripts/build/binary_hooks @@ -45,7 +45,7 @@ for _HOOK in ${LB_BINARY_HOOKS} do for LOCATION in "${LIVE_BUILD}/hooks" /usr/share/live/build/hooks do - for FILE in "${LOCATION}"/???-"${_HOOK}".binary + for FILE in "${LOCATION}"/????-"${_HOOK}".binary do if [ -e "${FILE}" ] then diff --git a/scripts/build/chroot_hooks b/scripts/build/chroot_hooks index b81e3cb24..7f11c9682 100755 --- a/scripts/build/chroot_hooks +++ b/scripts/build/chroot_hooks @@ -54,7 +54,7 @@ for _HOOK in ${LB_CHROOT_HOOKS} do for LOCATION in "${LIVE_BUILD}/hooks" /usr/share/live/build/hooks do - for FILE in "${LOCATION}"/???-"${_HOOK}".chroot + for FILE in "${LOCATION}"/????-"${_HOOK}".chroot do if [ -e "${FILE}" ] then diff --git a/share/hooks/001-update-apt-file-cache.chroot b/share/hooks/0010-update-apt-file-cache.chroot similarity index 100% rename from share/hooks/001-update-apt-file-cache.chroot rename to share/hooks/0010-update-apt-file-cache.chroot diff --git a/share/hooks/002-update-apt-xapian-index.chroot b/share/hooks/0020-update-apt-xapian-index.chroot similarity index 100% rename from share/hooks/002-update-apt-xapian-index.chroot rename to share/hooks/0020-update-apt-xapian-index.chroot diff --git a/share/hooks/003-update-mlocate-database.chroot b/share/hooks/0030-update-mlocate-database.chroot similarity index 100% rename from share/hooks/003-update-mlocate-database.chroot rename to share/hooks/0030-update-mlocate-database.chroot diff --git a/share/hooks/004-remove-dbus-machine-id.chroot b/share/hooks/0040-remove-dbus-machine-id.chroot similarity index 100% rename from share/hooks/004-remove-dbus-machine-id.chroot rename to share/hooks/0040-remove-dbus-machine-id.chroot diff --git a/share/hooks/005-remove-gnome-icon-cache.chroot b/share/hooks/0050-remove-gnome-icon-cache.chroot similarity index 100% rename from share/hooks/005-remove-gnome-icon-cache.chroot rename to share/hooks/0050-remove-gnome-icon-cache.chroot diff --git a/share/hooks/006-remove-openssh-server-host-keys.chroot b/share/hooks/0060-remove-openssh-server-host-keys.chroot similarity index 100% rename from share/hooks/006-remove-openssh-server-host-keys.chroot rename to share/hooks/0060-remove-openssh-server-host-keys.chroot diff --git a/share/hooks/007-remove-python-py.chroot b/share/hooks/0070-remove-python-py.chroot similarity index 100% rename from share/hooks/007-remove-python-py.chroot rename to share/hooks/0070-remove-python-py.chroot diff --git a/share/hooks/008-remove-udev-persistent-rules.chroot b/share/hooks/0080-remove-udev-persistent-rules.chroot similarity index 100% rename from share/hooks/008-remove-udev-persistent-rules.chroot rename to share/hooks/0080-remove-udev-persistent-rules.chroot diff --git a/share/hooks/009-remove-apt-sources-lists.chroot b/share/hooks/0090-remove-apt-sources-lists.chroot similarity index 100% rename from share/hooks/009-remove-apt-sources-lists.chroot rename to share/hooks/0090-remove-apt-sources-lists.chroot diff --git a/share/hooks/010-remove-linux-image-backups.chroot b/share/hooks/0100-remove-linux-image-backups.chroot similarity index 100% rename from share/hooks/010-remove-linux-image-backups.chroot rename to share/hooks/0100-remove-linux-image-backups.chroot