cleanup
[citadel.git] / appimage / citadel.AppDir / AppRun
index 079a2a0af668ae857ba9edf8ea1999a2ec7ba763..860b36b37eb20f878a1fdd9160447abe7bcb788b 100755 (executable)
@@ -23,7 +23,7 @@ ulimit -c unlimited
 
 usage() {
        echo ${APPIMAGE}: usage: ${APPIMAGE} '[-h data_directory] [-p http_port] [-s https_port] command'
-       echo 'command must be one of: run, test, install, client, database_cleanup, migrate'
+       echo 'command must be one of: run, test, install, database_cleanup, migrate'
        exit 2
 }
 
@@ -182,7 +182,7 @@ installation() {
        echo -e '\033[44m\033[37m \033[K\033[0m'
        echo
 
-       echo Installation has completed.
+       echo -e '\033[32m\033[1mInstallation has completed.\033[0m'
        echo Please continue by browsing to http://`hostname`:${HTTP_PORT}
        echo
        echo -e 'If this is a new installation, the default administrator'
@@ -225,9 +225,6 @@ case ${1} in
        install)
                installation
                ;;
-       client)
-               exec $APPDIR/usr/bin/citadel
-               ;;
        database_cleanup)
                export LD_LIBRARY_PATH=$APPDIR/usr/lib
                export PATH=$APPDIR/usr/bin:$PATH
@@ -252,12 +249,6 @@ case ${1} in
                export PATH=$APPDIR/usr/bin:$PATH
                exec $APPDIR/usr/local/citadel/citserver -x9 -h $CTDL_DIR
                ;;
-       connect)
-               export LD_LIBRARY_PATH=$APPDIR/usr/lib
-               export PATH=$APPDIR/usr/bin:$PATH
-               cd $APPDIR
-               exec citadel $*
-               ;;
        *)
                echo Unexpected command: ${1} 
                usage