From 7f93ac9bb6481e3e0ca80d7b4cf4ca2bb2d0d5b7 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Sat, 10 Mar 2018 12:09:36 +0800 Subject: config file $HOME/.liveusb-builder, move isofiles to $ISOPATH and set default $ISOPATH location to $HOME/isofiles --- distro/centos/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'distro/centos') diff --git a/distro/centos/install.sh b/distro/centos/install.sh index a06d388..6b6d88c 100644 --- a/distro/centos/install.sh +++ b/distro/centos/install.sh @@ -1,7 +1,7 @@ install_live() { mount_iso install -d "$DATADIR/centos/" "$KERNELDIR/centos/$version" - cp "isofiles/$ISOFILE" "$DATADIR/centos/" + cp "$ISOPATH/$ISOFILE" "$DATADIR/centos/" cp "$ISOMNT/images/pxeboot/vmlinuz" "$ISOMNT/images/pxeboot/initrd.img" "$KERNELDIR/centos/$version" umount_iso } -- cgit v1.2.3