File: database.sh.in

package info (click to toggle)
oar 2.5.4-2
  • links: PTS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 11,064 kB
  • sloc: perl: 28,891; ruby: 5,813; sh: 5,208; ml: 3,408; sql: 3,255; cpp: 2,277; ansic: 702; makefile: 389; php: 99; exp: 23
file content (6 lines) | stat: -rw-r--r-- 239 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6

database_setup() {
    if ! oar-database --check >/dev/null 2>/dev/null; then
        echo "Currently, the oar database isn't setup automatically. Please install the database manually (using the ${SBINDIR}/oar-database script)."
    fi
}