Debug
This commit is contained in:
parent
5e82c6dd5d
commit
e6683e0f1c
|
@ -493,17 +493,19 @@ function install_dynamicdns {
|
||||||
if grep -q "inadyn commit" "$COMPLETION_FILE"; then
|
if grep -q "inadyn commit" "$COMPLETION_FILE"; then
|
||||||
sed -i '/inadyn commit/d' "$COMPLETION_FILE"
|
sed -i '/inadyn commit/d' "$COMPLETION_FILE"
|
||||||
fi
|
fi
|
||||||
fi
|
else
|
||||||
|
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
|
return
|
||||||
return
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "************ 4"
|
echo "************ 4"
|
||||||
if [ -f /usr/local/sbin/inadyn ]; then
|
if [ -f /usr/local/sbin/inadyn ]; then
|
||||||
|
echo "********* checking $INSTALL_DIR/inadyn"
|
||||||
if [ -d "$INSTALL_DIR/inadyn" ]; then
|
if [ -d "$INSTALL_DIR/inadyn" ]; then
|
||||||
|
echo "Removing $INSTALL_DIR/inadyn"
|
||||||
rm -rf "$INSTALL_DIR/inadyn"
|
rm -rf "$INSTALL_DIR/inadyn"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue