summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/repoman4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index 1d6ef75d4..68c77b86e 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1894,7 +1894,9 @@ else:
sys.stderr.write("Failed to insert portage version in message!\n")
sys.stderr.flush()
portage_version = "Unknown"
- unameout = platform.system() + " " + platform.release() + " "
+ unameout = platform.system() + " "
+ if platform.system() != "Linux":
+ unameout += platform.release() + " "
if platform.system() in ["Darwin", "SunOS"]:
unameout += platform.processor()
else: