OracleTestSetup: oracle-xe-script.diff

File oracle-xe-script.diff, 887 bytes (added by Aymeric Augustin, 13 years ago)
  • xe

    old new  
    596596# See how we were called
    597597case "$1" in
    598598  start)
    599         if test -f "$CONFIGURATION"
     599        if test ! -f "$CONFIGURATION"
    600600        then
    601                 if test "$ORACLE_DBENABLED" != "true"
    602                 then
    603                         exit 0
    604                 fi
    605         else
    606601        echo "Oracle Database 10g Express Edition is not configured.  You must run
    607602'/etc/init.d/oracle-xe configure' as the root user to configure the database."
    608603                exit 0
     
    613608        configure
    614609        ;;
    615610  stop)
    616         if test -f "$CONFIGURATION"
     611        if test ! -f "$CONFIGURATION"
    617612        then
    618                 if test "$ORACLE_DBENABLED" != "true"
    619                 then
    620                         exit 0
    621                 fi
    622         else
    623613        echo "Oracle Database 10g Express Edition is not configured.  You must run
    624614'/etc/init.d/oracle-xe configure' as the root user to configure the database."
    625615                exit 0
Back to Top