Re: dpkg bug? (regarding smartlist)
Santiago Vila <sanvila@unex.es> wrote:
> if [ -f $b ]; then
> diff $b ../.etc/$b > /dev/null && (rm -f $b; ln -s ../.etc/$b)
> fi
Yuck, no.
Better would be something like this:
ls -i $potential_problems |
perl -ne '
($inode, $name)= split;
die "hard link between $name and $in_use{$inode}
please replace this hard link with a symbolic link or an independent file
before installing smartlist\n"
if $in_use{$inode};
$in_use{$inode}= $name;
'
--
Raul
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: