ktorrent --> Min: ktorrent-14-13.delta.pisi Max: ktorrent-2.1_rc1-13-13.pisi

Creating delta PiSi package between ktorrent-14-13.delta.pisi ktorrent-2.1_rc1-13-13.pisi
Traceback (most recent call last):
  File "/var/www/localhost/htdocs/delta/createdelta.py", line 47, in ?
    create_delta_package(old_pkg, new_pkg)
  File "/usr/lib/pardus/pisi/delta.py", line 82, in create_delta_package
    os.unlink(util.join_path(ctx.config.tmp_dir(), ctx.const.install_tar_lzma))
OSError: [Errno 2] No such file or directory: '/var/pisi/install.tar.lzma'
This commit is contained in:
S.Çağlar Onur
2007-02-07 22:28:40 +00:00
parent 6f2268bc88
commit 155a08ee93
+4 -1
View File
@@ -79,7 +79,10 @@ def create_delta_package(old_package, new_package):
deltapkg.close()
os.unlink(util.join_path(ctx.config.tmp_dir(), ctx.const.install_tar_lzma))
tmp_file = util.join_path(ctx.config.tmp_dir(), ctx.const.install_tar_lzma)
if os.path.exists(tmp_file):
os.unlink(tmp_file)
ctx.build_leftover = None
os.chdir(c)