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:
+4
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user