From 3a7b2683f3a80ee6469619391ae5ca193a04718f Mon Sep 17 00:00:00 2001 From: Remy Bohmer Date: Fri, 7 May 2010 23:33:55 +0200 Subject: Ptxdist fails to build if config files are readonly. Ptxdist just makes a copy of the config file, but it actually needs a writable copy of the config file Signed-off-by: Remy Bohmer --- scripts/lib/ptxd_lib_cfgchg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/ptxd_lib_cfgchg.sh b/scripts/lib/ptxd_lib_cfgchg.sh index 8ec0b26c9..5c1df058f 100644 --- a/scripts/lib/ptxd_lib_cfgchg.sh +++ b/scripts/lib/ptxd_lib_cfgchg.sh @@ -77,6 +77,6 @@ ptxd_cfgchg() xargs -0 -r rm -f -- fi - cp "${cfg_orig}" "${cfg_old}" || return + install -m644 "${cfg_orig}" "${cfg_old}" || return done } -- cgit v1.2.3