Fix authentication

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion 2024-08-01 00:39:00 +02:00
parent 9b4d381f1e
commit 872b15c0d4
No known key found for this signature in database
GPG Key ID: 3E85EB44F610AD7F
1 changed files with 3 additions and 3 deletions

View File

@ -271,13 +271,13 @@ fn install_ly(allocator: std.mem.Allocator, install_config: bool) !void {
var patch_map = PatchMap.init(allocator);
defer patch_map.deinit();
try patch_map.put("$PREFIX_DIRECTORY", prefix_directory);
try patch_map.put("$CONFIG_DIRECTORY", config_directory);
const patched_xsetup = try patchFile(allocator, "res/xsetup.sh", patch_map);
const patched_wsetup = try patchFile(allocator, "res/wsetup.sh", patch_map);
try installText(patched_xsetup, config_dir, ly_config_directory, "xsetup.sh", .{});
try installText(patched_wsetup, config_dir, ly_config_directory, "wsetup.sh", .{});
try installText(patched_xsetup, config_dir, ly_config_directory, "xsetup.sh", .{ .mode = 0o755 });
try installText(patched_wsetup, config_dir, ly_config_directory, "wsetup.sh", .{ .mode = 0o755 });
}
}