1
0

Avoid erro in zypper pythin script

OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive-filesystem?expand=0&rev=73
This commit is contained in:
Dr. Werner Fink 2017-07-24 07:59:22 +00:00 committed by Git OBS Bridge
parent 10726fd847
commit 1d3b0a8708
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 24 07:56:46 UTC 2017 - werner@suse.de
- Avoid error in zypper pythin script
-------------------------------------------------------------------
Tue Jul 18 13:50:34 UTC 2017 - werner@suse.de

View File

@ -22,4 +22,7 @@ tagfile = "/var/run/texlive/run-update"
if access(update, F_OK|X_OK) and path.exists(tagfile):
call("VERBOSE=false " + update + " 2>&1 || :", shell=True)
remove(tagfile)
try:
remove(tagfile)
except OSError:
pass