Skip to content
Snippets Groups Projects
sh.in 416 B
Newer Older
  • Learn to ignore specific revisions
  • # -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
    
    # vim: set filetype=sh sw=3 sts=3 expandtab autoindent:
    
    elijah's avatar
    elijah committed
    #
    # shell script handler for backupninja
    # runs the file /etc/backup.d/scriptname.sh
    
    elijah's avatar
    elijah committed
    
    
    # No-op function so that 'when = XXX' can be written as such in
    # backup.d/*.sh, i.e. with spaces around the equal sign - as in every
    # other backup.d/ file.
    function when() {
       true
    }
    
    
    elijah's avatar
    elijah committed
    [ $test ] || ( . $1 )