diff options
author | Iru Cai <mytbk920423@gmail.com> | 2018-03-10 12:09:36 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2018-03-10 12:37:47 +0800 |
commit | 7f93ac9bb6481e3e0ca80d7b4cf4ca2bb2d0d5b7 (patch) | |
tree | d4cca1224a9cad90b1b2222529abb31d90764ba7 /distro/centos | |
parent | 56f19f7fc19c861e18efa152790d62b9c635d292 (diff) | |
download | liveusb-builder-7f93ac9bb6481e3e0ca80d7b4cf4ca2bb2d0d5b7.tar.xz |
config file $HOME/.liveusb-builder, move isofiles to $ISOPATH
and set default $ISOPATH location to $HOME/isofiles
Diffstat (limited to 'distro/centos')
-rw-r--r-- | distro/centos/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |