summaryrefslogtreecommitdiff
path: root/distro/centos
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-03-10 12:09:36 +0800
committerIru Cai <mytbk920423@gmail.com>2018-03-10 12:37:47 +0800
commit7f93ac9bb6481e3e0ca80d7b4cf4ca2bb2d0d5b7 (patch)
treed4cca1224a9cad90b1b2222529abb31d90764ba7 /distro/centos
parent56f19f7fc19c861e18efa152790d62b9c635d292 (diff)
downloadliveusb-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.sh2
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
}