ly/debian/patches/pam.patch
ferreo 87dc293ed0
Some checks failed
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 56s
add pam patch
2024-12-02 19:18:31 +00:00

25 lines
888 B
Diff

From cc5e2bc37900f27f11630253a0b08d31d9e88086 Mon Sep 17 00:00:00 2001
From: ferrreo <harderthanfire@gmail.com>
Date: Mon, 2 Dec 2024 19:16:48 +0000
Subject: [PATCH] Update build.zig
---
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});