parameter default handling in __zypper_repo type corrected

This commit is contained in:
Daniel Heule 2014-01-21 22:57:06 +01:00
parent 08b8270739
commit 360b42e892

View file

@ -45,11 +45,7 @@ else
id="$__object_id"
fi
if [ -f "$__object/parameter/state" ]; then
state="$(cat "$__object/parameter/state")"
else
state="present"
fi
state="$(cat "$__object/parameter/state")"
repo_id="$(cat "$__object/explorer/repo_id")"