forked from lix-project/lix
Style fix
This commit is contained in:
parent
af765a8eab
commit
b6ee5e5bf0
|
@ -104,7 +104,8 @@ void LocalStore::optimisePath_(OptimiseStats & stats, const Path & path, InodeHa
|
||||||
https://github.com/NixOS/nix/issues/1443 for more discussion. */
|
https://github.com/NixOS/nix/issues/1443 for more discussion. */
|
||||||
|
|
||||||
if (std::regex_search(path, std::regex("\\.app/Contents/PkgInfo$")) ||
|
if (std::regex_search(path, std::regex("\\.app/Contents/PkgInfo$")) ||
|
||||||
std::regex_search(path, std::regex("\\.app/Contents/Resources/.+\\.lproj$"))) {
|
std::regex_search(path, std::regex("\\.app/Contents/Resources/.+\\.lproj$")))
|
||||||
|
{
|
||||||
debug(format("'%1%' is not allowed to be linked in macOS") % path);
|
debug(format("'%1%' is not allowed to be linked in macOS") % path);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue