From a37c48ed439ba90c2bc59dcd3c4b9cf37f4e3433 Mon Sep 17 00:00:00 2001
From: Daniel Heule <hda@sfs.biz>
Date: Wed, 4 Dec 2013 15:24:18 +0100
Subject: [PATCH] bei dem repo_id eine kleine verschoenerung

---
 cdist/conf/type/__zypper_repo/explorer/repo_id | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cdist/conf/type/__zypper_repo/explorer/repo_id b/cdist/conf/type/__zypper_repo/explorer/repo_id
index 8184860d..83a698b7 100644
--- a/cdist/conf/type/__zypper_repo/explorer/repo_id
+++ b/cdist/conf/type/__zypper_repo/explorer/repo_id
@@ -24,6 +24,6 @@
 if [ -f "$__object/parameter/repo_uri" ]; then
    uri="$(cat "$__object/parameter/repo_uri")"
 else
-   uri="/$__object_id"
+   uri="$__object_id"
 fi
 echo $(zypper lr -u | grep -E "\<$uri\>" | cut -d'|' -f 1 | grep -E '^[0-9]' )