Skip to content
Snippets Groups Projects
Unverified Commit 9cf06c6b authored by Dustin Falgout's avatar Dustin Falgout
Browse files

code cleanup

parent 4c68ccb8
No related branches found
No related tags found
1 merge request!424Fix User Daemon Updates Check
...@@ -140,7 +140,7 @@ public class AlpmConfig { ...@@ -140,7 +140,7 @@ public class AlpmConfig {
if (tmp_db) { if (tmp_db) {
string tmp_dbpath = "/tmp/pamac-checkdbs"; string tmp_dbpath = "/tmp/pamac-checkdbs";
try { 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 ("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 ("ln -sf %slocal %s".printf (dbpath, tmp_dbpath));
Process.spawn_command_line_sync ("chmod -R 777 %s/sync".printf (tmp_dbpath)); Process.spawn_command_line_sync ("chmod -R 777 %s/sync".printf (tmp_dbpath));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment