File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed
Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,11 @@ ARG IMAGE_NAME="${IMAGE_NAME}"
1010ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION}"
1111
1212COPY system_files/desktop/shared /
13-
14- COPY system_files/desktop/gnome /tmp/gnome
13+ COPY system_files/desktop/gnome/* /tmp/gnome
14+ COPY system_files/desktop/kde/* /tmp/kde
1515RUN if grep "gnome" <<< "${IMAGE_NAME}" ; then \
1616 cp -rf /tmp/gnome/* / \
17- ; fi
18-
19- COPY system_files/desktop/kde /tmp/kde
20- RUN if grep -v "gnome" <<< "${IMAGE_NAME}" ; then \
17+ ; else \
2118 cp -rf /tmp/kde/* / \
2219; fi
2320
@@ -156,14 +153,11 @@ ARG IMAGE_NAME="${IMAGE_NAME}"
156153ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION}"
157154
158155COPY system_files/deck/shared /
159-
160- COPY system_files/deck/gnome /tmp/gnome
156+ COPY system_files/deck/gnome/* /tmp/gnome
157+ COPY system_files/deck/kde/* /tmp/kde
161158RUN if grep "gnome" <<< "${IMAGE_NAME}" ; then \
162159 cp -rf /tmp/gnome/* / \
163- ; fi
164-
165- COPY system_files/deck/kde /tmp/kde
166- RUN if grep -v "gnome" <<< "${IMAGE_NAME}" ; then \
160+ ; else \
167161 cp -rf /tmp/kde/* / \
168162; fi
169163
You can’t perform that action at this time.
0 commit comments