1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

print/texlive-tlmgr: Fix patch

Reported by:	imb@protected-networks.net
Sponsored by:	Nepustil
This commit is contained in:
Muhammad Moinur Rahman 2024-05-29 22:35:56 +02:00
parent 5d8f13e960
commit 6ce207af51
No known key found for this signature in database
GPG Key ID: BDB9B5A617C0BC91

View File

@ -40,26 +40,26 @@
+ my $temp = "$root/tlpkg/temp";
TeXLive::TLUtils::mkdirhier($temp);
tlwarn("$prg: warning: backup option not implemented for infrastructure "
. " update on Windows; continuing anyway.\n")
. " update on Windows; continuing anyway.\n")
@@ -5449,15 +5452,14 @@ sub uninstall_texlive {
system("rm", "-rf", "$texmfsysvar");
print "misc... ";
- system("rm", "-rf", "$Master/readme-html.dir");
- system("rm", "-rf", "$Master/readme-txt.dir");
+ system("rm", "-rf", "$Master/tlpkg/readme-html.dir");
+ system("rm", "-rf", "$Master/tlpkg/readme-txt.dir");
for my $f (qw/doc.html index.html install-tl install-tl.log
LICENSE.CTAN LICENSE.TL README README.usergroups
release-texlive.txt texmf.cnf texmfcnf.lua
/) {
LICENSE.CTAN LICENSE.TL README README.usergroups
release-texlive.txt texmf.cnf texmfcnf.lua
/) {
- system("rm", "-f", "$Master/$f");
+ system("rm", "-f", "$Master/tlpkg/$f");
}
- finddepth(sub { rmdir; }, $Master);
rmdir($Master);
print "done.\n";
@@ -6397,7 +6399,7 @@ sub action_conf {
$fn || ( $fn = "$TEXMFCONFIG/tlmgr/config" ) ;
$cf = TeXLive::TLConfFile->new($fn, "#", "=");