From 05d8999b428962cd6d01f85fb9a484431a8579e4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 16 Oct 2007 02:11:02 +0000 Subject: [PATCH] - if /bin/sh is not removed it shouldn't be added either besides this pkg doesn't have it in %files Changed files: mksh.spec -> 1.4 --- mksh.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mksh.spec b/mksh.spec index 4b34aa4..1fcb726 100644 --- a/mksh.spec +++ b/mksh.spec @@ -52,7 +52,7 @@ if f then for l in f:lines() do t[l]=l; end f:close() end -for _, s in ipairs({"/bin/mksh", "/bin/sh"}) do +for _, s in ipairs({"/bin/mksh"}) do if not t[s] then f = io.open("/etc/shells", "a"); f:write(s.."\n"); f:close() end -- 2.44.0