From 0651f62d718e18665eec0280fe05b670f7728a7a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 29 Sep 2013 19:11:42 -0300 Subject: Ensure preferences file exists --- lib/keyringer/functions | 2 ++ 1 file changed, 2 insertions(+) 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 } -- cgit v1.2.3