Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
neurobin committed Mar 30, 2017
1 parent 7196f18 commit a012714
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions funcs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -439,12 +439,12 @@ rebuild_initrd(){
mv edit/"$initrd".old.link edit/"$initrd" &&
msg_out "edit/$initrd updated." ||
wrn_out "Could not update edit/$initrd"
if $JL_debian; then
#copy isolinux
update_cp edit/usr/lib/syslinux/isolinux.bin extracted/isolinux/isolinux.bin 2>/dev/null ||
update_cp edit/usr/lib/ISOLINUX/isolinux.bin extracted/isolinux/isolinux.bin 2>/dev/null ||
update_cp edit/usr/lib/isolinux/isolinux.bin extracted/isolinux/isolinux.bin 2>/dev/null
fi
# if $JL_debian; then
# #copy isolinux
# update_cp edit/usr/lib/syslinux/isolinux.bin extracted/isolinux/isolinux.bin 2>/dev/null ||
# update_cp edit/usr/lib/ISOLINUX/isolinux.bin extracted/isolinux/isolinux.bin 2>/dev/null ||
# update_cp edit/usr/lib/isolinux/isolinux.bin extracted/isolinux/isolinux.bin 2>/dev/null
# fi
}

jl_clean(){
Expand Down Expand Up @@ -494,7 +494,7 @@ jlcd_start(){
fi
fi
echo "1" > "$JL_lockF"

trap_with_arg finish SIGTERM EXIT SIGQUIT

maindir="$PWD"
Expand Down

0 comments on commit a012714

Please sign in to comment.