Remove the inadyn commit from the completion file
This commit is contained in:
parent
285e7b453b
commit
27a83a9286
|
@ -485,6 +485,10 @@ function install_dynamicdns {
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if grep -q "INADYN_COMMIT" "$COMPLETION_FILE"; then
|
||||||
|
sed -i '/INADYN_COMMIT/d' "$COMPLETION_FILE"
|
||||||
|
fi
|
||||||
|
|
||||||
CURR_INADYN_COMMIT=$(get_completion_param "inadyn commit")
|
CURR_INADYN_COMMIT=$(get_completion_param "inadyn commit")
|
||||||
echo "************ 3 $CURR_INADYN_COMMIT $INADYN_COMMIT"
|
echo "************ 3 $CURR_INADYN_COMMIT $INADYN_COMMIT"
|
||||||
if [[ "${CURR_INADYN_COMMIT}" == "${INADYN_COMMIT}" ]]; then
|
if [[ "${CURR_INADYN_COMMIT}" == "${INADYN_COMMIT}" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue