1 |
--- |
2 |
targets/livecd-stage2/livecd-stage2-controller.sh | 15 +++++---------- |
3 |
1 file changed, 5 insertions(+), 10 deletions(-) |
4 |
|
5 |
diff --git a/targets/livecd-stage2/livecd-stage2-controller.sh b/targets/livecd-stage2/livecd-stage2-controller.sh |
6 |
index 10ee98e..16a9071 100755 |
7 |
--- a/targets/livecd-stage2/livecd-stage2-controller.sh |
8 |
+++ b/targets/livecd-stage2/livecd-stage2-controller.sh |
9 |
@@ -42,12 +42,9 @@ case $1 in |
10 |
echo "${clst_livecd_type}. You should switch to using" |
11 |
echo "generic-livecd instead." |
12 |
fi |
13 |
- cp -pPR ${clst_sharedir}/livecd/files/generic.motd.txt \ |
14 |
- ${clst_sharedir}/livecd/files/universal.motd.txt \ |
15 |
- ${clst_sharedir}/livecd/files/minimal.motd.txt \ |
16 |
- ${clst_sharedir}/livecd/files/livecd.motd.txt \ |
17 |
- ${clst_sharedir}/livecd/files/gamecd.motd.txt \ |
18 |
- ${clst_chroot_path}/etc |
19 |
+ cp -pPR ${clst_sharedir}/livecd/files/{generic.motd.txt,universal.motd.txt,minimal.motd.txt} ${clst_chroot_path}/etc |
20 |
+ cp -pPR ${clst_sharedir}/livecd/files/{livecd.motd.txt,gamecd.motd.txt} ${clst_chroot_path}/etc |
21 |
+ |
22 |
;; |
23 |
*) |
24 |
if [ -n "${clst_livecd_motd}" ] |
25 |
@@ -147,8 +144,7 @@ case $1 in |
26 |
exit 1 |
27 |
fi |
28 |
fi |
29 |
- cp -f ${clst_snapshot_path} $1/snapshots |
30 |
- cp -f ${clst_snapshot_path}.DIGESTS $1/snapshots |
31 |
+ cp -f ${clst_snapshot_path}{,.DIGESTS} $1/snapshots |
32 |
;; |
33 |
gentoo-release-livedvd) |
34 |
targets="distfiles snapshots stages" |
35 |
@@ -171,8 +167,7 @@ case $1 in |
36 |
continue |
37 |
;; |
38 |
snapshots) |
39 |
- cp -f ${clst_snapshot_path} $1/snapshots |
40 |
- cp -f ${clst_snapshot_path}.DIGESTS $1/snapshots |
41 |
+ cp -f ${clst_snapshot_path}{,.DIGESTS} $1/snapshots |
42 |
;; |
43 |
stages) |
44 |
### TODO: make this copy stages |
45 |
-- |
46 |
2.10.2 |