Skip to content

Commit

Permalink
Patched wrong substitution
Browse files Browse the repository at this point in the history
  • Loading branch information
Fulgurance committed Aug 16, 2024
1 parent 7c6d053 commit 2a11d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ISM/Software.cr
Original file line number Diff line number Diff line change
Expand Up @@ -1380,7 +1380,7 @@ module ISM

if !File.directory?(entry) || File.symlink?(entry)
#Use install to avoid any crash ?
File.symlink?(entry) ? moveFile(entry.gsub(Ism.settings.rootPath,""),finalDestination.sub(Ism.settings.rootPath,"")) : moveFileNoChroot(entry,finalDestination)
File.symlink?(entry) ? moveFile(entry.gsub(Ism.settings.rootPath,"/"),finalDestination.sub(Ism.settings.rootPath,"/")) : moveFileNoChroot(entry,finalDestination)
end

end
Expand Down

0 comments on commit 2a11d63

Please sign in to comment.