DEBUG values are now yes/no instead of confusing 1/0
intrigeri
18 years ago
43 | 43 |
}
|
44 | 44 |
|
45 | 45 |
debug() {
|
46 | |
[ $DEBUG -eq 0 ] || echo -e "debug: $@" >&2
|
|
46 |
[ "$DEBUG" != yes ] || echo -e "debug: $@" >&2
|
47 | 47 |
}
|
48 | 48 |
|
49 | 49 |
email() {
|
|
62 | 62 |
### Configuration
|
63 | 63 |
###
|
64 | 64 |
|
65 | |
DEBUG=1
|
|
65 |
DEBUG=yes
|
66 | 66 |
WATCHED_DIR="/etc"
|
67 | 67 |
BACKUP_DIR="/var/lib/metche"
|
68 | 68 |
# if set, activate single changelog mode
|
54 | 54 |
VSERVER_EXEC_PREFIX=""
|
55 | 55 |
#VSERVER_EXEC_PREFIX="/usr/sbin/vserver blabla exec"
|
56 | 56 |
|
57 | |
# Set this to 1 to get more debugging output, else 0.
|
58 | |
# (default: 1 until metche 1.0 is released)
|
59 | |
#DEBUG=1
|
|
57 |
# Set this to yes to get more debugging output.
|
|
58 |
# (default: enabled until metche 1.0 is released)
|
|
59 |
#DEBUG=no
|
60 | 60 |
|
61 | 61 |
#######################################################################
|
62 | 62 |
#
|