Accepting request 512198 from Publishing:TeXLive

- Avoid error in zypper python script

OBS-URL: https://build.opensuse.org/request/show/512198
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texlive-filesystem?expand=0&rev=22
This commit is contained in:
Dominique Leuenberger 2017-07-24 10:33:22 +00:00 committed by Git OBS Bridge
commit 4879b8a276
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 python script
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 18 13:50:34 UTC 2017 - werner@suse.de 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): if access(update, F_OK|X_OK) and path.exists(tagfile):
call("VERBOSE=false " + update + " 2>&1 || :", shell=True) call("VERBOSE=false " + update + " 2>&1 || :", shell=True)
try:
remove(tagfile) remove(tagfile)
except OSError:
pass