Remove commit if the old inadyn binary is found
This commit is contained in:
parent
e0ee4dc9f8
commit
0dbb5c0c6c
|
@ -497,6 +497,9 @@ function install_dynamicdns {
|
|||
|
||||
echo "************ 4"
|
||||
if [ -f /usr/local/sbin/inadyn ]; then
|
||||
if grep -q "inadyn commit" "$COMPLETION_FILE"; then
|
||||
sed -d '/inadyn commit/d' "$COMPLETION_FILE"
|
||||
fi
|
||||
if [ -d "$INSTALL_DIR/inadyn" ]; then
|
||||
rm -rf "$INSTALL_DIR/inadyn"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue