added abspath for db

This commit is contained in:
Jonas Forsberg 2020-08-15 14:15:37 +02:00
parent c595a85d87
commit a616830a7b
No known key found for this signature in database
GPG Key ID: A80FD4B8CAA77A05

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
keepassdb="Nextcloud/passwords/Passwords.kdbx" keepassdb="$HOME/Nextcloud/passwords/Passwords.kdbx"
type wg >/dev/null 2>&1 || { printf "wireguard is not installed\n" >&2; exit 1; } type wg >/dev/null 2>&1 || { printf "wireguard is not installed\n" >&2; exit 1; }
type keepassxc-cli >/dev/null 2>&1 || { printf "KeepassXC is not installed\n" >&2; exit 1; } type keepassxc-cli >/dev/null 2>&1 || { printf "KeepassXC is not installed\n" >&2; exit 1; }