Debian Codegraph @

commit.d/10vcs-test

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 set -e
3
4 not_enabled_warningscip-shell shell etckeeper 1.18.23-2 not_enabled_warning().() {
5 echoscip-shell system . . echo. "etckeeper warning: etckeeper is not yet enabled for $(pwdscip-shell system . . pwd.)" >&2
6 echoscip-shell system . . echo. "etckeeper warning: run etckeeper init to enable it" >&2
7 }
8
9 if [scip-shell system . . `[`. "$VCS" = git ] && [scip-shell system . . `[`. ! -d .git ]; then
10 not_enabled_warningscip-shell shell etckeeper 1.18.23-2 not_enabled_warning().
11 elif [scip-shell system . . `[`. "$VCS" = hg ] && [scip-shell system . . `[`. ! -d .hg ]; then
12 not_enabled_warningscip-shell shell etckeeper 1.18.23-2 not_enabled_warning().
13 elif [scip-shell system . . `[`. "$VCS" = bzr ] && [scip-shell system . . `[`. ! -d .bzr ]; then
14 not_enabled_warningscip-shell shell etckeeper 1.18.23-2 not_enabled_warning().
15 elif [scip-shell system . . `[`. "$VCS" = darcs ] && [scip-shell system . . `[`. ! -d _darcs ]; then
16 not_enabled_warningscip-shell shell etckeeper 1.18.23-2 not_enabled_warning().
17 fi