texlive[44377] Master/tlpkg/tlpostcode/ptex2pdf-tlpost.pl: fix plist

commits+preining at tug.org commits+preining at tug.org
Tue May 16 07:56:38 CEST 2017


Revision: 44377
          http://tug.org/svn/texlive?view=revision&revision=44377
Author:   preining
Date:     2017-05-16 07:56:37 +0200 (Tue, 16 May 2017)
Log Message:
-----------
fix plist file name

Modified Paths:
--------------
    trunk/Master/tlpkg/tlpostcode/ptex2pdf-tlpost.pl

Modified: trunk/Master/tlpkg/tlpostcode/ptex2pdf-tlpost.pl
===================================================================
--- trunk/Master/tlpkg/tlpostcode/ptex2pdf-tlpost.pl	2017-05-16 04:00:03 UTC (rev 44376)
+++ trunk/Master/tlpkg/tlpostcode/ptex2pdf-tlpost.pl	2017-05-16 05:56:37 UTC (rev 44377)
@@ -193,9 +193,9 @@
   #  /etc/xdg/TUG/TeXworks.conf
   #  /etc/xdg/TeXworks.conf
   # Mac:
-  #  $HOME/Library/Preferences/org.TUG.TeXworks.plist ??
-  #  $HOME/Library/Preferences/com.TeXworks.plist ??
-  #  /Library/Preferences/com.TUG.TeXworks.plist
+  #  $HOME/Library/Preferences/org.tug.TeXworks.plist
+  #  $HOME/Library/Preferences/com.TeXworks.plist
+  #  /Library/Preferences/com.tug.TeXworks.plist
   #  /Library/Preferences/com.TeXworks.plist
   # Win:
   #  HKEY_CURRENT_USER\Software\TUG\TeXworks
@@ -238,10 +238,10 @@
     $inifile = "TeXworks.ini";
   } elsif ($^O eq "darwin") {
     $toolsdir = $ENV{'HOME'} . "/Library/TeXworks/configuration";
-    $tugdir = $ENV{'HOME'} . "/Library/Preferences"; # needs check TODO
-    $inifile = "org.TUG.TeXworks.plist"; # TODO needs check
-    # TODO but as we do not do anything with $tugdir/$inifile (since it
-    # is a plist file, this is not a problem for now.
+    $tugdir = $ENV{'HOME'} . "/Library/Preferences";
+    $inifile = "org.tug.TeXworks.plist";
+    # Just for completeness, as we are not doing adjustments to
+    # default engines on Mac. For this plist access would ne necessary.
   } else {
     $toolsdir = $ENV{'HOME'} . "/.TeXworks/configuration";
     my $xdgconfhome = (defined($ENV{'XDG_CONFIG_HOME'}) ? $ENV{'XDG_CONFIG_HOME'} : $ENV{'HOME'} . "/.config");



More information about the tex-live-commits mailing list