cleanup
authorArt Cancro <ajc@citadel.org>
Fri, 16 Jul 2021 21:03:55 +0000 (17:03 -0400)
committerArt Cancro <ajc@citadel.org>
Fri, 16 Jul 2021 21:03:55 +0000 (17:03 -0400)
appimage/README.txt
appimage/citadel.AppDir/AppRun

index ec936957775b983be1cc64a18885bc75da268deb..a2949fb366dd567d7b26e7d4f9b34e41a334a0b7 100644 (file)
@@ -6,9 +6,9 @@ The tooling in this directory can be used to build an AppImage, the entire Citad
 distributed as a single binary file.  Visit https://appimage.org/ to learn more about the
 AppImage format and how it works.
 
-Again, do NOT try to run this on your production machine.  For that matter, don't try to
-run it on anything other than a dedicated build host.  It may ERASE data you intended to
-keep.
+Again, do NOT try to build this on your production machine.  For that matter, don't try
+to build it on anything other than a dedicated build host.  It may ERASE data you
+intended to keep.
 
 If you're an end user you shouldn't have any need to do this at all.  The whole point of
 this is that we can supply ready-to-run binaries that will run on any Linux/Linux system
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