bei dem repo_id eine kleine verschoenerung

remotes/origin/4.0-pre-not-stable
Daniel Heule 11 years ago
parent 33a4f07bb4
commit a37c48ed43
  1. 2
      cdist/conf/type/__zypper_repo/explorer/repo_id

@ -24,6 +24,6 @@
if [ -f "$__object/parameter/repo_uri" ]; then if [ -f "$__object/parameter/repo_uri" ]; then
uri="$(cat "$__object/parameter/repo_uri")" uri="$(cat "$__object/parameter/repo_uri")"
else else
uri="/$__object_id" uri="$__object_id"
fi fi
echo $(zypper lr -u | grep -E "\<$uri\>" | cut -d'|' -f 1 | grep -E '^[0-9]' ) echo $(zypper lr -u | grep -E "\<$uri\>" | cut -d'|' -f 1 | grep -E '^[0-9]' )

Loading…
Cancel
Save