From 9cf06c6bd766df63b2297190ac6e0831c245c8bc Mon Sep 17 00:00:00 2001 From: Dustin Falgout <dustin@falgout.us> Date: Fri, 30 Mar 2018 03:27:23 -0500 Subject: [PATCH] code cleanup --- src/alpm_config.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/alpm_config.vala b/src/alpm_config.vala index 9b773ee5..96f7f773 100644 --- a/src/alpm_config.vala +++ b/src/alpm_config.vala @@ -140,7 +140,7 @@ public class AlpmConfig { if (tmp_db) { string tmp_dbpath = "/tmp/pamac-checkdbs"; try { - if (! GLib.FileUtils.test(tmp_dbpath, GLib.FileTest.IS_DIR)) { + if (! GLib.FileUtils.test (tmp_dbpath, GLib.FileTest.IS_DIR)) { Process.spawn_command_line_sync ("mkdir -p %s/sync".printf (tmp_dbpath)); Process.spawn_command_line_sync ("ln -sf %slocal %s".printf (dbpath, tmp_dbpath)); Process.spawn_command_line_sync ("chmod -R 777 %s/sync".printf (tmp_dbpath)); -- GitLab