From 3d9766667a0862743b65752f2fdaeff8e18512d6 Mon Sep 17 00:00:00 2001 From: Chris Cromer Date: Fri, 6 Oct 2017 17:12:39 -0300 Subject: [PATCH] fix #331 --- src/alpm_config.vala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/alpm_config.vala b/src/alpm_config.vala index 368fa6e..9d86b21 100644 --- a/src/alpm_config.vala +++ b/src/alpm_config.vala @@ -140,9 +140,8 @@ class AlpmConfig { if (tmp_db) { string tmp_dbpath = "/tmp/pamac-checkdbs"; try { - Process.spawn_command_line_sync ("mkdir -p %s".printf (tmp_dbpath)); + Process.spawn_command_line_sync ("mkdir -p %s/sync".printf (tmp_dbpath)); Process.spawn_command_line_sync ("ln -sf %s/local %s".printf (dbpath, tmp_dbpath)); - Process.spawn_command_line_sync ("cp -au %s/sync %s".printf (dbpath, tmp_dbpath)); Process.spawn_command_line_sync ("chmod -R 777 %s/sync".printf (tmp_dbpath)); handle = new Alpm.Handle (rootdir, tmp_dbpath, out error); } catch (SpawnError e) {