1.1 --- a/tools/install.sh Sun Mar 06 00:11:29 2016 +0100
1.2 +++ b/tools/install.sh Sun Mar 06 00:44:42 2016 +0100
1.3 @@ -17,7 +17,7 @@
1.4 # Agents and modules.
1.5
1.6 AGENTS="imip_person.py imip_person_outgoing.py imip_resource.py"
1.7 -MODULES="markup.py imip_store.py vCalendar.py vContent.py vRecurrence.py"
1.8 +MODULES="markup.py vCalendar.py vContent.py vRecurrence.py"
1.9
1.10 if [ ! -e "$INSTALL_DIR" ]; then
1.11 mkdir -p "$INSTALL_DIR"
1.12 @@ -27,6 +27,7 @@
1.13 cp $MODULES "$INSTALL_DIR"
1.14
1.15 for DIR in "$INSTALL_DIR/imiptools" \
1.16 + "$INSTALL_DIR/imiptools/stores" \
1.17 "$INSTALL_DIR/imiptools/handlers" \
1.18 "$INSTALL_DIR/imiptools/handlers/scheduling" ; do
1.19 if [ ! -e "$DIR" ]; then
1.20 @@ -43,6 +44,7 @@
1.21 # Copy modules into the installation directory.
1.22
1.23 cp imiptools/*.py "$INSTALL_DIR/imiptools/"
1.24 +cp imiptools/stores/*.py "$INSTALL_DIR/imiptools/stores/"
1.25 cp imiptools/handlers/*.py "$INSTALL_DIR/imiptools/handlers/"
1.26 cp imiptools/handlers/scheduling/*.py "$INSTALL_DIR/imiptools/handlers/scheduling/"
1.27
1.28 @@ -52,6 +54,10 @@
1.29 rm "$INSTALL_DIR/imiptools/handlers/scheduling.py"*
1.30 fi
1.31
1.32 +if [ -e "$INSTALL_DIR/imip_store.py" ]; then
1.33 + rm "$INSTALL_DIR/imip_store.py"*
1.34 +fi
1.35 +
1.36 # Install the config module in a more appropriate location.
1.37
1.38 if [ ! -e "$CONFIG_DIR" ]; then