1.1 --- a/tools/install.sh Mon Jan 30 23:28:11 2017 +0100
1.2 +++ b/tools/install.sh Tue Jan 31 15:49:14 2017 +0100
1.3 @@ -101,14 +101,14 @@
1.4 # Install the new configuration file alongside the existing file if
1.5 # different.
1.6
1.7 - if ! cmp "$INSTALL_DIR/imiptools/config.txt" "$CONFIG_DIR/config.txt" > /dev/null 2>&1 ; then
1.8 - cp "$INSTALL_DIR/imiptools/config.txt" "$CONFIG_DIR/config.txt.new"
1.9 + if ! cmp "imiptools/config.txt" "$CONFIG_DIR/config.txt" > /dev/null 2>&1 ; then
1.10 + cp "imiptools/config.txt" "$CONFIG_DIR/config.txt.new"
1.11 fi
1.12
1.13 # Otherwise, just copy the configuration file.
1.14
1.15 else
1.16 - cp "$INSTALL_DIR/imiptools/config.txt" "$CONFIG_DIR/config.txt"
1.17 + cp "imiptools/config.txt" "$CONFIG_DIR/config.txt"
1.18 fi
1.19
1.20 # Update the tools configuration file.