From 3a8ebd4325c3a6b592c9e1a0a00689db9b2edae9 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Fri, 16 May 2014 14:44:31 -0500 Subject: [PATCH] Pull the link out of the alternatives output when not specified Fixes #7414 --- system/alternatives | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/alternatives b/system/alternatives index dfdc4e2f81a..5fca68c5ef8 100755 --- a/system/alternatives +++ b/system/alternatives @@ -109,6 +109,8 @@ def main(): current_path = value elif key == 'Alternative': all_alternatives.append(value) + elif key == 'Link' and not link: + link = value if current_path != path: try: