summaryrefslogtreecommitdiff
path: root/distro/ubuntu/install.sh
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-10-22 23:23:24 +0800
committerIru Cai <mytbk920423@gmail.com>2018-10-22 23:47:04 +0800
commitbd1064a61103cb81faf1ea85387f438add67e6c1 (patch)
tree6b89d53d42722a60d0d047a21ba967b197e9b3ad /distro/ubuntu/install.sh
parentad74006fb22ddab8d9d8231ba54952543bd0f43e (diff)
downloadliveusb-builder-bd1064a61103cb81faf1ea85387f438add67e6c1.tar.xz
distro: add xubuntu
modify the ubuntu entry and install.sh to use DISTRONAME and KEYWORD so that these scripts can be reused.
Diffstat (limited to 'distro/ubuntu/install.sh')
-rw-r--r--distro/ubuntu/install.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/distro/ubuntu/install.sh b/distro/ubuntu/install.sh
index f6edab7..20b8d3f 100644
--- a/distro/ubuntu/install.sh
+++ b/distro/ubuntu/install.sh
@@ -1,7 +1,7 @@
install_live() {
- install -d "$KERNELDIR/ubuntu/${_ver}/64" "$DATADIR/ubuntu"
- cp "$ISOPATH/$ISOFILE" "$DATADIR/ubuntu/"
+ install -d "$KERNELDIR/${KEYWORD}/${_ver}/64" "$DATADIR/${KEYWORD}"
+ cp "$ISOPATH/$ISOFILE" "$DATADIR/${KEYWORD}/"
mount_iso
- cp "$ISOMNT/casper/${VMLINUZ}" "$ISOMNT/casper/${INITRD}" "$KERNELDIR/ubuntu/${_ver}/64/"
+ cp "$ISOMNT/casper/${VMLINUZ}" "$ISOMNT/casper/${INITRD}" "$KERNELDIR/${KEYWORD}/${_ver}/64/"
umount_iso
}