Message ID | 1409570949-18455-4-git-send-email-paolo.pisati@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/debian/control-scripts/postinst b/debian/control-scripts/postinst index 7e99410..a388cef 100644 --- a/debian/control-scripts/postinst +++ b/debian/control-scripts/postinst @@ -767,7 +767,7 @@ sub image_magic { # Well, in any case, if the destination (the symlink we are trying # to create) is a directory, we should do nothing, except throw a # diagnostic. - if (-d "$kimage" && ! -l "$kimage") { + if (-d "$kimage" ) { die ("Hmm. $kimage is a directory, which I did not expect. I am\n" . "trying to create a symbolic link with that name linked to \n" . "$image_dest . Since a directory exists here, my assumptions \n" .
This reverts commit a282edfe0127af66898f5e2af269db941e3a0f44. Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com> --- debian/control-scripts/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)