Helpers.pm: new helper configuration_directory
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 15 Jun 2018 05:21:13 +0000 (07:21 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 15 Jun 2018 07:17:29 +0000 (09:17 +0200)
commit0ca370283dcfe778a1ff2473e4952dbf13a40683
tree759524e1cc287e9a9cd0f46dba54b3ef6cb73877
parentb8b2e694f1fa0f574b4b7349aa68c5659fbe0420
Helpers.pm: new helper configuration_directory

Read configs from XDG_CONFIG_HOME/pveclient/ first.
if XDG_CONFIG_HOME is not set, then use $HOME/.config/pveclient/
PVE/APIClient/Helpers.pm