From baf19da43f9004662e66be369650e4aedcf58dca Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 30 May 2019 08:30:58 +0100 Subject: Change the UpdateGcrootsDirectory ln command Hopefully these arguments will work a little better. --- app/services/govuk_guix/update_gcroots_directory.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/services/govuk_guix/update_gcroots_directory.rb b/app/services/govuk_guix/update_gcroots_directory.rb index 7f70da6..dec4679 100644 --- a/app/services/govuk_guix/update_gcroots_directory.rb +++ b/app/services/govuk_guix/update_gcroots_directory.rb @@ -45,8 +45,8 @@ module GovukGuix::UpdateGcrootsDirectory unless Guix.valid_store_path?(store_path) run_command( - 'ln', '-s', - store_path, + 'ln', '-f', '-s', + '-T', store_path, File.join(DIRECTORY, store_path['/gnu/store/'.length..-1]), run_remotely_on_host: options[:run_remotely_on_host] ) -- cgit v1.2.3