taskserver-pushover fixing query
This commit is contained in:
parent
289d502c41
commit
b2b1f0bd7b
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ in
|
||||||
};
|
};
|
||||||
query = mkOption {
|
query = mkOption {
|
||||||
type = str;
|
type = str;
|
||||||
default = "+PENDING and ( +ACTIVE and +DUETODAY or +TODAY or +OVERDUE )";
|
default = "+PENDING and ( +ACTIVE or +DUETODAY or +TODAY or +OVERDUE )";
|
||||||
};
|
};
|
||||||
dataDir = mkOption {
|
dataDir = mkOption {
|
||||||
type = str;
|
type = str;
|
||||||
|
@ -66,7 +66,7 @@ in
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
''
|
''
|
||||||
if [ -d ${cfg.dataDir} ]
|
if [ -d /var/lib/${name}/${cfg.dataDir} ]
|
||||||
then
|
then
|
||||||
echo "syncronize ${cfg.dataDir}"
|
echo "syncronize ${cfg.dataDir}"
|
||||||
${taskwarriorCommand} sync
|
${taskwarriorCommand} sync
|
||||||
|
|
Loading…
Reference in a new issue