{"action":"opened","issue":{"url":"https://api.github.com/repos/linuxmuster/linuxmuster-linbo/issues/81","repository_url":"https://api.github.com/repos/linuxmuster/linuxmuster-linbo","labels_url":"https://api.github.com/repos/linuxmuster/linuxmuster-linbo/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/linuxmuster/linuxmuster-linbo/issues/81/comments","events_url":"https://api.github.com/repos/linuxmuster/linuxmuster-linbo/issues/81/events","html_url":"https://github.com/linuxmuster/linuxmuster-linbo/issues/81","id":303792877,"number":81,"title":"linbo_cmd löscht postsync","user":{"login":"HappyBasher","id":1845363,"avatar_url":"https://avatars3.githubusercontent.com/u/1845363?v=4","gravatar_id":"","url":"https://api.github.com/users/HappyBasher","html_url":"https://github.com/HappyBasher","followers_url":"https://api.github.com/users/HappyBasher/followers","following_url":"https://api.github.com/users/HappyBasher/following{/other_user}","gists_url":"https://api.github.com/users/HappyBasher/gists{/gist_id}","starred_url":"https://api.github.com/users/HappyBasher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HappyBasher/subscriptions","organizations_url":"https://api.github.com/users/HappyBasher/orgs","repos_url":"https://api.github.com/users/HappyBasher/repos","events_url":"https://api.github.com/users/HappyBasher/events{/privacy}","received_events_url":"https://api.github.com/users/HappyBasher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-09T10:24:19Z","updated_at":"2018-03-09T10:24:19Z","closed_at":null,"author_association":"OWNER","body":"Lieber Thomas,\r\nich habe einen kleinen Fehler in linbo_cmd gefunden.\r\n\r\nFalls auf dem Server keine .reg-Datei zu einem cloop-Image gefunden wird,\r\nwird die zugehörige .postsync-Datei nicht heruntergeladen.\r\n\r\nDas liegt an der Funktion download_all, die die zweite Datei nicht\r\nherunterlädt, falls die erste nicht heruntergeladen werden kann.\r\n\r\nDer angehängte Patch beseitigt das Problem.\r\n\r\n\r\nGruß,\r\nFrank\r\n\r\ndiff --git a/linbofs/usr/bin/linbo_cmd b/linbofs/usr/bin/linbo_cmd\r\nindex df01cf6e23..b478e68127 100755\r\n--- a/linbofs/usr/bin/linbo_cmd\r\n+++ b/linbofs/usr/bin/linbo_cmd\r\n@@ -2769,7 +2769,8 @@ download_if_newer(){\r\n   fi\r\n   # update regpatch and postsync script\r\n   rm -rf \"$2\".reg \"$2\".postsync\r\n-  download_all \"$1\" \"$2\".reg \"$2\".postsync >/dev/null 2>&1\r\n+  download \"$1\" \"$2\".reg >/dev/null 2>&1\r\n+  download \"$1\" \"$2\".postsync >/dev/null 2>&1\r\n  fi\r\n  # start torrent service for others if there is no image to download\r\n  [ \"$DLTYPE\" = \"torrent\" -a -n \"$IMAGE\" -a -z \"$DOWNLOAD_ALL\" ] && download_torrent \"$2\"\r\n"}}
{"actor":{"display_login":"HappyBasher"}}