[network-manager-openvpn/th/ovpn-import-bgo761285: 10/12] properties: import inline blobs to different file location



commit 1a18f116dc8a37809d0be65a3d7137483047e97e
Author: Thomas Haller <thaller redhat com>
Date:   Fri Jan 29 13:20:17 2016 +0100

    properties: import inline blobs to different file location
    
    Put imported files to ~/.cert/nm-openvpn/ directory. This
    allows the user to better see which whiles were imported
    by nm-openvpn and it also avoid that we unintentionally
    overwrite files from other applications.

 properties/import-export.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/properties/import-export.c b/properties/import-export.c
index 9e5fbcf..dc4de7a 100644
--- a/properties/import-export.c
+++ b/properties/import-export.c
@@ -575,7 +575,7 @@ inline_blob_construct_path (const char *basename, const char *token)
        if (_nmovpn_test_temp_path)
                return g_build_filename (_nmovpn_test_temp_path, f_filename, NULL);
 
-       return g_build_filename (g_get_home_dir (), ".cert", f_filename, NULL);
+       return g_build_filename (g_get_home_dir (), ".cert/nm-openvpn", f_filename, NULL);
 }
 
 static gboolean


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]