Project

General

Profile

« Previous | Next » 

Revision 1957

Added reinstall_all to reinstall all inputs at once

View differences:

bin/reinstall_all
1
#!/bin/bash
2
# Reinstalls all inputs at once
3

  
4
reinstall_all_main ()
5
{
6
    local self="${BASH_SOURCE[0]}"
7
    local selfDir="$(dirname -- "$self")"
8
    
9
    if test "${BASH_LINENO[1]}" = 0; then # was run without initial "."
10
        echo "Usage: . $self (note initial \".\")"|fold -s >&2
11
        return 2
12
    fi
13
    
14
    . "$selfDir/with_all" 'reinstall log=1'
15
}
16
reinstall_all_main "$@"
0 17

  
README.TXT
2 2
    Install: make install
3 3
    Uninstall: make uninstall
4 4
        WARNING: This will delete your VegBIEN DB!
5
    Reinstall all datasources at once: . bin/reinstall_all
5 6

  
6 7
Data import:
7 8
    Import data into VegBIEN: . bin/import_all

Also available in: Unified diff