diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-09-29 19:11:42 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-09-29 19:11:42 -0300 |
commit | 0651f62d718e18665eec0280fe05b670f7728a7a (patch) | |
tree | 3a165c46fa4f1dc66181d87e22b7cc6b7bca2d5d | |
parent | 2c18c4f213d8081e4243e8f37007af93cddf4695 (diff) | |
download | keyringer-0651f62d718e18665eec0280fe05b670f7728a7a.tar.gz keyringer-0651f62d718e18665eec0280fe05b670f7728a7a.tar.bz2 |
Ensure preferences file exists
-rwxr-xr-x | lib/keyringer/functions | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/keyringer/functions b/lib/keyringer/functions index 0da1548..66a23df 100755 --- a/lib/keyringer/functions +++ b/lib/keyringer/functions @@ -29,6 +29,8 @@ function keyringer_config_load_preferences { # Load custom keyring preferences if [ ! -z "$PREFERENCES" ] && [ -f "$PREFERENCES" ]; then source "$PREFERENCES" + elif [ ! -z "$PREFERENCES" ]; then + touch $PREFERENCES fi } |