tweak the lib64 output

git-svn-id: http://emdebian.org/svn/current@7762 563faec7-e20c-0410-992a-a66f704d0ccd
This commit is contained in:
codehelp 2011-02-08 16:05:36 +00:00
parent 471a7ba778
commit 7ee5ca1a68

View file

@ -624,8 +624,6 @@ sub guard_lib64 {
if ($r =~ m:^/lib$:) { if ($r =~ m:^/lib$:) {
print _g("I: Unlinking unsafe ${dir}lib64 -> /lib symbolic link.\n"); print _g("I: Unlinking unsafe ${dir}lib64 -> /lib symbolic link.\n");
unlink "${dir}lib64"; unlink "${dir}lib64";
} else {
print _g("I: Keeping the ${dir}lib64 -> ${dir}lib symbolic link.\n");
} }
} elsif (not -d "${dir}lib64") { } elsif (not -d "${dir}lib64") {
chdir ("$dir"); chdir ("$dir");
@ -633,7 +631,7 @@ sub guard_lib64 {
print _g("I: Replaced ./lib64 -> /lib symbolic link with new ${dir}lib64 directory.\n"); print _g("I: Replaced ./lib64 -> /lib symbolic link with new ${dir}lib64 directory.\n");
mkdir ("${dir}lib64"); mkdir ("${dir}lib64");
} else { } else {
print _g("I: Setting ./lib64 -> ./lib symbolic link.\n"); print _g("I: Setting ${dir}lib64 -> ${dir}lib symbolic link.\n");
symlink "./lib", "lib64"; symlink "./lib", "lib64";
} }
} }