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/ubuntu | |
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/ubuntu')
-rw-r--r-- | distro/ubuntu/14.04/install.sh | 2 | ||||
-rw-r--r-- | distro/ubuntu/16.04/install.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/distro/ubuntu/14.04/install.sh b/distro/ubuntu/14.04/install.sh index 97addac..24ce8f9 100644 --- a/distro/ubuntu/14.04/install.sh +++ b/distro/ubuntu/14.04/install.sh @@ -1,6 +1,6 @@ install_live() { install -d "$KERNELDIR/ubuntu/14.04/64" "$DATADIR/ubuntu" - cp "isofiles/$ISOFILE" "$DATADIR/ubuntu/" + cp "$ISOPATH/$ISOFILE" "$DATADIR/ubuntu/" mount_iso cp "$ISOMNT/casper/vmlinuz.efi" "$ISOMNT/casper/initrd.lz" "$KERNELDIR/ubuntu/14.04/64/" umount_iso diff --git a/distro/ubuntu/16.04/install.sh b/distro/ubuntu/16.04/install.sh index 653e2f5..d5a0a12 100644 --- a/distro/ubuntu/16.04/install.sh +++ b/distro/ubuntu/16.04/install.sh @@ -1,6 +1,6 @@ install_live() { install -d "$KERNELDIR/ubuntu/16.04/64" "$DATADIR/ubuntu" - cp "isofiles/$ISOFILE" "$DATADIR/ubuntu/" + cp "$ISOPATH/$ISOFILE" "$DATADIR/ubuntu/" mount_iso cp "$ISOMNT/casper/vmlinuz.efi" "$ISOMNT/casper/initrd.lz" "$KERNELDIR/ubuntu/16.04/64/" umount_iso |