texlive-core.

This commit is contained in:
4fury-c3440d8
2021-01-02 09:35:59 +00:00
parent 6256d20378
commit 1023d5517a
2 changed files with 14 additions and 10 deletions
+7 -3
View File
@@ -4,9 +4,9 @@
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
WorkDir = "."
revnr = get.srcVERSION().split(".")[1]
@@ -25,12 +25,16 @@ def install():
# prepare and install installed packs list
pisitools.dodir("/var/lib/texmf/pisilinux/installedpacks")
pisitools.dosed("CONTENTS", "^#", deleteLine=True)
pisitools.insinto("/var/lib/texmf/pisilinux/installedpkgs", "CONTENTS", "%s_%s.list" % (get.srcNAME(), revnr))
pisitools.insinto("/var/lib/texmf/pisilinux/installedpacks", "CONTENTS", "%s_%s.list" % (get.srcNAME(), revnr))
for i in shelltools.ls("texmf-dist"):
shelltools.copytree("texmf-dist/%s/" % i, "%s/usr/share/texmf-dist/" % get.installDIR())
shelltools.system("find texmf-dist -type f -executable -exec chmod 755 %s/usr/share/{} \;" % get.installDIR())
# for i in shelltools.ls("."):
# if shelltools.isDirectory(i) and not i.startswith("texmf"):
# shelltools.copytree(i, "%s/usr/share/texmf-dist/" % get.installDIR())
for i in ["tlpkg"]:
shelltools.copytree("%s/" % i, "%s/usr/share/" % get.installDIR())
+7 -7
View File
@@ -1,9 +1,9 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>texlive-core</Name>
<Summary xml:lang="tr">TeX Live Dağıtımının Ana Parçası</Summary>
<Description xml:lang="tr">texlive-core Tex Live dağıtımının ana parçasıdır.</Description>
<Description xml:lang="fr">texlive-core est la part essentiel de TeXLive.</Description>
</Source>
</PISI>
<Source>
<Name>texlive-core</Name>
<Summary xml:lang="tr">TeX Live Dağıtımının Ana Parçası</Summary>
<Description xml:lang="tr">texlive-core Tex Live dağıtımının ana parçasıdır.</Description>
<Description xml:lang="fr">texlive-core est la part essentiel de TeXLive.</Description>
</Source>
</PISI>