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



commit 67b4406ed18cdcd62cc1dadb2bbba3dbb4f151ce
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 af1e55b..c3b1d03 100644
--- a/properties/import-export.c
+++ b/properties/import-export.c
@@ -566,7 +566,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]