2024-12-02 19:18:31 +00:00
|
|
|
From cc5e2bc37900f27f11630253a0b08d31d9e88086 Mon Sep 17 00:00:00 2001
|
|
|
|
From: ferrreo <harderthanfire@gmail.com>
|
|
|
|
Date: Mon, 2 Dec 2024 19:16:48 +0000
|
2024-12-02 21:11:42 +01:00
|
|
|
Subject: [PATCH 1/2] Update build.zig
|
2024-12-02 19:18:31 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
build.zig | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/build.zig b/build.zig
|
|
|
|
index f0e9074..cf25dd2 100644
|
|
|
|
--- a/build.zig
|
|
|
|
+++ b/build.zig
|
|
|
|
@@ -297,7 +297,7 @@ fn install_ly(allocator: std.mem.Allocator, install_config: bool) !void {
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
- const pam_path = try std.fs.path.join(allocator, &[_][]const u8{ dest_directory, config_directory, "/pam.d" });
|
|
|
|
+ const pam_path = try std.fs.path.join(allocator, &[_][]const u8{ config_directory, "/pam.d" });
|
|
|
|
if (!std.mem.eql(u8, dest_directory, "")) {
|
|
|
|
std.fs.cwd().makePath(pam_path) catch {
|
|
|
|
std.debug.print("warn: {s} already exists as a directory.\n", .{pam_path});
|
|
|
|
|
|
|
|
|