diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2010-11-16 21:21:51 -0500 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2010-11-16 21:21:51 -0500 |
commit | 6b503b8984cf3c5848522d7dcb6ccc72939eedc7 (patch) | |
tree | 772a692f5af26b389b1e8186b5c58a28d066a367 | |
parent | b4ff8748d593c9dfd162dabfbdd5bb33d44cd399 (diff) | |
download | keyringer-6b503b8984cf3c5848522d7dcb6ccc72939eedc7.tar.gz keyringer-6b503b8984cf3c5848522d7dcb6ccc72939eedc7.tar.bz2 |
do not complain if the config directory already exists when creating it.
-rw-r--r-- | lib/keyringer/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/keyringer/functions b/lib/keyringer/functions index c78b9d3..5c4b5da 100644 --- a/lib/keyringer/functions +++ b/lib/keyringer/functions @@ -14,7 +14,7 @@ function keyringer_config_load { if [ ! -e "$CONFIG" ]; then echo "Creating $CONFIG..." - mkdir `dirname $CONFIG` + mkdir -p `dirname $CONFIG` touch $CONFIG chmod 600 $CONFIG echo "# Keyringer config file." > $CONFIG |