From bd1064a61103cb81faf1ea85387f438add67e6c1 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Mon, 22 Oct 2018 23:23:24 +0800 Subject: distro: add xubuntu modify the ubuntu entry and install.sh to use DISTRONAME and KEYWORD so that these scripts can be reused. --- distro/ubuntu/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'distro/ubuntu/install.sh') 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 } -- cgit v1.2.3