taskserver-pushover fixing query

This commit is contained in:
Ingolf Wagner 2021-10-26 07:06:52 +02:00
parent 289d502c41
commit b2b1f0bd7b
Signed by: palo
GPG key ID: 76BF5F1928B9618B

View file

@ -21,7 +21,7 @@ in
};
query = mkOption {
type = str;
default = "+PENDING and ( +ACTIVE and +DUETODAY or +TODAY or +OVERDUE )";
default = "+PENDING and ( +ACTIVE or +DUETODAY or +TODAY or +OVERDUE )";
};
dataDir = mkOption {
type = str;
@ -66,7 +66,7 @@ in
'';
in
''
if [ -d ${cfg.dataDir} ]
if [ -d /var/lib/${name}/${cfg.dataDir} ]
then
echo "syncronize ${cfg.dataDir}"
${taskwarriorCommand} sync