[Gelistirici] [paketler-commits] r59991 - in playground/semen/applications/tex: texlive-basic texlive-basic/comar texlive-bibtexextra texlive-core texlive-core/comar
Onur Küçük
onur at pardus.org.tr
11 Şub 2009 Çar 11:37:30 EET
> Modified: playground/semen/applications/tex/texlive-basic/actions.py
> =================================================================
> --- playground/semen/applications/tex/texlive-basic/actions.py
> (original) +++
> playground/semen/applications/tex/texlive-basic/actions.py Wed
> Feb 11 11:28:40 2009 @@ -85,16 +85,21 @@ symfile.close()
>
> # Installing texmf, texmf-dist, tlpkg
> - shelltools.copytree("texmf", "%s/usr/share/texmf" %
> get.installDIR())
> - shelltools.copytree("texmf-dist", "%s/usr/share/texmf-dist" %
> get.installDIR())
> - shelltools.copytree("tlpkg", "%s/usr/share/tlpkg" %
> get.installDIR())
> + if os.path.isdir("texmf"):
> + shelltools.copytree("texmf", "%s/usr/share/texmf" %
os.path yerine shelltools araçlarını kullanabilirsin, misal
shelltools.isDirectory tam buralık :)
pisi/actionsapi $ grep def shelltools.py
def can_access_file(filePath):
def can_access_directory(destinationDirectory):
def makedirs(destinationDirectory):
def echo(destionationFile, content):
def chmod(filePath, mode = 0755):
def chown(filePath, uid = 'root', gid = 'root'):
def sym(source, destination):
def unlink(filePath):
def unlinkDir(sourceDirectory):
def move(source, destination):
def copy(source, destination, sym = True):
def copytree(source, destination, sym = True):
def touch(filePath):
def cd(directoryName = ''):
def ls(source):
def export(key, value):
def isLink(filePath):
def isFile(filePath):
def isDirectory(filePath):
def isEmpty(filePath):
def realPath(filePath):
def baseName(filePath):
def dirName(filePath):
def system(command):
--
Onur Küçük Knowledge speaks,
<onur.--.-.pardus.org.tr> but wisdom listens
Gelistirici mesaj listesiyle ilgili
daha fazla bilgi