From ac6626f75f60e3d765985043b546247e50265d39 Mon Sep 17 00:00:00 2001 From: maximilian attems Date: Mon, 30 Mar 2009 00:54:34 +0200 Subject: update-initramfs: Run update on highest version instead of /initrd.img link "Ah. there were symlinks in / - tho they were never ever used on this system. Seems pretty broken to rely on symlinks that might (and are) years out of date." Reported-by: Peter Palfrader so no longer rely on this links like since 0.65, but use the "latest" according the dpkg higher heuristic check. that should make people more happy! also the symlinks should be phased out, only fallback to them if set_highest_version() finds nothing. (closes: #493863) --- update-initramfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'update-initramfs') diff --git a/update-initramfs b/update-initramfs index 8c085a5..ad65ef2 100755 --- a/update-initramfs +++ b/update-initramfs @@ -390,11 +390,11 @@ update() fi if [ -z "${version}" ]; then - set_linked_version + set_highest_version fi if [ -z "${version}" ]; then - set_highest_version + set_linked_version fi if [ -z "${version}" ]; then -- cgit v1.2.3