forked from ungleich-public/cdist
korrektur eines typos ...
This commit is contained in:
parent
e1a2ebab5c
commit
512b410012
1 changed files with 2 additions and 3 deletions
|
@ -60,10 +60,9 @@ elif grep -q "$repo_id" "$__object/explorer/all_repo_ids"; then
|
||||||
act_id="$repo_id"
|
act_id="$repo_id"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
state="disabled"
|
||||||
if grep -q "$act_id" "$__object/explorer/enabled_repo_ids"; then
|
if grep -q "$act_id" "$__object/explorer/enabled_repo_ids"; then
|
||||||
state="enabled"
|
state="enabled"
|
||||||
else
|
|
||||||
state="disabled"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
@ -88,7 +87,7 @@ case "$state" in
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
disabled)
|
disabled)
|
||||||
if [ ! -z "$act_id" ] && [ "$state" = "disabled" ]; then
|
if [ ! -z "$act_id" ] && [ "$state" = "enabled" ]; then
|
||||||
echo zypper $zypper_def_opts modifyrepo -d "$act_id"
|
echo zypper $zypper_def_opts modifyrepo -d "$act_id"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue