Skip to content
Snippets Groups Projects
Commit 6e803225 authored by Bob Mottram's avatar Bob Mottram
Browse files

Remove old repo if it exists

parent 75856820
No related branches found
No related tags found
No related merge requests found
......@@ -499,6 +499,13 @@ function install_dynamicdns {
apt-get -yq install build-essential curl libgnutls28-dev automake1.11
apt-get -yq install gnutls-dev libconfuse-dev
if [ -f /usr/local/sbin/inadyn ]; then
if [ -d "$INSTALL_DIR/inadyn" ]; then
rm -rf "$INSTALL_DIR/inadyn"
fi
fi
if [ ! -d "$INSTALL_DIR/inadyn" ]; then
if [ -d /repos/inadyn ]; then
mkdir "$INSTALL_DIR/inadyn"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment