summaryrefslogtreecommitdiff
path: root/distro
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2016-07-05 20:34:43 +0800
committerIru Cai <mytbk920423@gmail.com>2016-08-02 12:17:03 +0800
commit7be29a553f8bc94df3a6d67c497faa2371913dce (patch)
tree7db73a26d289973e944810cc2c1bce76b96c0654 /distro
parent46a58cb3730000fec238a698ea169cc4d0aa05d7 (diff)
downloadliveusb-builder-7be29a553f8bc94df3a6d67c497faa2371913dce.tar.xz
install() -> install_live()
Diffstat (limited to 'distro')
-rw-r--r--distro/arch/install.sh3
-rw-r--r--distro/fedora/install.sh2
2 files changed, 3 insertions, 2 deletions
diff --git a/distro/arch/install.sh b/distro/arch/install.sh
index 3d605bb..bb15685 100644
--- a/distro/arch/install.sh
+++ b/distro/arch/install.sh
@@ -1,8 +1,9 @@
ISOURL=iso/2016.08.01/archlinux-2016.08.01-dual.iso
SHA1=6db5a9e46267ba7ec4d9ae79d141e5a6d9d3cf88
-install() {
+install_live() {
mount_iso
+ cp -r "$ROOTPATH"
umount_iso
}
diff --git a/distro/fedora/install.sh b/distro/fedora/install.sh
index 12f4377..5b81ffc 100644
--- a/distro/fedora/install.sh
+++ b/distro/fedora/install.sh
@@ -1,7 +1,7 @@
ISOURL=releases/24/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-24-1.2.iso
SHA256=8e12d7ba1fcf3328b8514d627788ee0146c0eef75a5e27f0674ee1fe4f1feaf6
-install() {
+install_live() {
mount_iso
umount_iso
}