10 lines
263 B
Bash
Executable file
10 lines
263 B
Bash
Executable file
#!/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
|