Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for sargument (0.41 sec)

  1. src/packaging/common/scripts/postinst

            # If $1=1 this is an install
            IS_UPGRADE=false
        ;;
        2)
            # If $1=1 this is an upgrade
            IS_UPGRADE=true
        ;;
    
        *)
            echo "post install script called with unknown argument \`$1'" >&2
            exit 1
        ;;
    esac
    
    if [ "x$IS_UPGRADE" != "xtrue" ]; then
        if command -v systemctl >/dev/null; then
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Dec 10 01:24:02 GMT 2015
    - 3.1K bytes
    - Viewed (0)
  2. src/packaging/common/scripts/preinst

                        -d "$FESS_USER_HOME"  \
                        "$FESS_USER"
                echo " OK"
            fi
        ;;
    
        *)
            echo "pre install script called with unknown argument \`$1'" >&2
            exit 1
        ;;
    esac
    
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Dec 01 09:48:15 GMT 2016
    - 2.3K bytes
    - Viewed (0)
  3. src/packaging/common/scripts/postrm

            REMOVE_SERVICE=true
            REMOVE_USER_AND_GROUP=true
        ;;
        1)
            # If $1=1 this is an upgrade
            IS_UPGRADE=true
        ;;
    
        *)
            echo "post remove script called with unknown argument \`$1'" >&2
            exit 1
        ;;
    esac
    
    # Sets the default values for fess variables used in this script
    FESS_USER="${packaging.fess.user}"
    FESS_GROUP="${packaging.fess.group}"
    PID_DIR="${packaging.fess.pid.dir}"
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Dec 10 01:24:02 GMT 2015
    - 2.2K bytes
    - Viewed (0)
  4. src/packaging/common/scripts/prerm

        ;;
        1)
            # Don't do anything on upgrade, because the preun script in redhat gets executed after the postinst (madness!)
        ;;
    
        *)
            echo "pre remove script called with unknown argument \`$1'" >&2
            exit 1
        ;;
    esac
    
    # Stops the service
    if [ "$STOP_REQUIRED" = "true" ]; then
        echo -n "Stopping fess service..."
        if command -v systemctl >/dev/null; then
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Jan 29 07:34:32 GMT 2018
    - 1.7K bytes
    - Viewed (1)
Back to top