put the symlinks into the correct locations.

git-svn-id: http://emdebian.org/svn/current@7264 563faec7-e20c-0410-992a-a66f704d0ccd
This commit is contained in:
codehelp 2010-06-01 08:14:12 +00:00
parent d21a861def
commit 3be748d310

View file

@ -98,11 +98,11 @@ foreach $line (@list)
next if (not defined $cmd[1]);
next if (scalar @cmd != 10);
if ($cmd[1] eq "s") {
push @seq, "ln -s $cmd[0] $cmd[2]";
push @seq, "ln -s $cmd[0] .$cmd[2]";
next;
}
if ($cmd[1] eq "h") {
push @seq, "ln $cmd[0] $cmd[2]";
push @seq, "ln $cmd[0] .$cmd[2]";
next;
}
if ($cmd[1] eq "d"){
@ -206,6 +206,14 @@ where name is the file name, type can be one of:
b Block special device file
p Fifo (named pipe)
symlinks and hardlinks are extensions to the device table, just for
F<device-table.pl>, other device table parsers might not handle these
types. The first field of the symlink command is the existing target of
the symlink, the third field is the full path of the symlink itself.
e.g.
/proc/self/fd/0 s /dev/stdin - - - - - - -
See http://wiki.debian.org/DeviceTableScripting
=cut