mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
2000-01-02 Martin Bialasinski <martin@internet-treff.uni-koeln.de>
* extfs/deb.in: Change to the deb vfs. tar has changed, and depending on the version, it saves files as "./filename" or "filename".
This commit is contained in:
parent
b29a825d72
commit
f414f394d1
@ -1,5 +1,9 @@
|
||||
2000-01-02 Martin Bialasinski <martin@internet-treff.uni-koeln.de>
|
||||
|
||||
|
||||
* extfs/deb.in: Change to the deb vfs. tar has changed, and
|
||||
depending on the version, it saves files as "./filename" or
|
||||
"filename".
|
||||
|
||||
* From debian: added deba, debd, dpkg, apt script file systems.
|
||||
|
||||
1999-12-21 Pavel Roskin <pavel_roskin@geocities.com>
|
||||
|
@ -12,6 +12,8 @@
|
||||
# (add by Michael Bramer Debian-mc-maintainer <grisu@debian.org>)
|
||||
# (to allow access to package control files)
|
||||
#
|
||||
# Modified by Martin Bialasinski <martinb@debian.org> 1999
|
||||
# (deal with change in tar format)
|
||||
#
|
||||
#
|
||||
# Copyright (C) 1997 Free Software Foundation
|
||||
@ -131,8 +133,9 @@ sub mcdebfs_copyout
|
||||
}
|
||||
else
|
||||
{
|
||||
# files can be prepended with ./ or not, depending on the version of tar
|
||||
$filename=~s!^CONTENTS/!!;
|
||||
system("dpkg-deb --fsys-tarfile $archive | tar xOf - $filename > $destfile");
|
||||
system("dpkg-deb --fsys-tarfile $archive | tar xOf - $filename ./$filename > $destfile 2>/dev/null");
|
||||
}
|
||||
}
|
||||
|
||||
@ -167,7 +170,7 @@ sub mcdebfs_run
|
||||
$pressinstall=<<EOInstall;
|
||||
|
||||
WARNING
|
||||
Don't use this method if you are not willing to reinstall everything...
|
||||
Don\'t use this method if you are not willing to reinstall everything...
|
||||
|
||||
This is not a real file. It is a way to install the package you are browsing.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user