mirror of https://github.com/fairyglade/ly.git
update build.zig again
This commit is contained in:
parent
2a3db1c57d
commit
5aa03df2bf
|
@ -101,7 +101,7 @@ pub fn ServiceInstaller(comptime init_system: InitSystem) type {
|
||||||
var service_dir = std.fs.openDirAbsolute(service_path, .{}) catch unreachable;
|
var service_dir = std.fs.openDirAbsolute(service_path, .{}) catch unreachable;
|
||||||
defer service_dir.close();
|
defer service_dir.close();
|
||||||
|
|
||||||
try std.fs.cwd().copyFile("res/ly-openrc", service_dir, "ly", .{ .override_mode = 755 });
|
try std.fs.cwd().copyFile("res/ly-openrc", service_dir, exe_name, .{ .override_mode = 755 });
|
||||||
},
|
},
|
||||||
.Runit => {
|
.Runit => {
|
||||||
const service_path = try std.fs.path.join(allocator, &[_][]const u8{ dest_directory, "/etc/sv/ly" });
|
const service_path = try std.fs.path.join(allocator, &[_][]const u8{ dest_directory, "/etc/sv/ly" });
|
||||||
|
|
Loading…
Reference in New Issue