11 lines
263 B
Bash
11 lines
263 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -euo pipefail
|
||
|
|
||
|
if [[ -n $(secret-tool lookup service nextcloud) ]]; then
|
||
|
/usr/bin/vdirsyncer discover
|
||
|
/usr/bin/vdirsyncer sync --force-delete my_contacts/z-app-generated--contactsinteraction--recent
|
||
|
else
|
||
|
echo "Failed to unlock database"
|
||
|
fi
|