File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -327,11 +327,11 @@ EOF
327327 # copy template
328328 submsg " Copying Overlay..."
329329 if [ -d " ${TARGET} " /rootoverlay/ ]; then
330- as_root cp -r " ${TARGET} " /rootoverlay/* " ${mount_point} /" || warn " Copying root template threw a code, check it "
330+ as_root cp -r " ${TARGET} " /rootoverlay/* " ${mount_point} /" || warn " Could not copy root overlay. If rootoverlay/ is empty you can ignore this. "
331331 fi
332332 as_root cp " ${SCRIPT_BASE_DIR} /init.arch.sh" " ${mount_point} " || warn " Could not copy initialization script to chroot!"
333333 as_root cp " ${TARGET} /init.arch.conf" " ${mount_point} " || exit_with_error 1 " Could not copy initialization config to chroot!"
334- [ -f " ${TARGET} /init.arch.local.sh" ] as_root cp " ${TARGET} /init.arch.local.sh" " ${mount_point} " || exit_with_error 1 " Could not copy local initializtion script to chroot!"
334+ [ -f " ${TARGET} /init.arch.local.sh" ] && as_root cp " ${TARGET} /init.arch.local.sh" " ${mount_point} " || exit_with_error 1 " Could not copy local initializtion script to chroot!"
335335
336336 # initialize with script
337337 submsg " Running Initalization Script..."
You can’t perform that action at this time.
0 commit comments