Skip to content

Commit 3829ddb

Browse files
committed
fix: Address problem copying DE specifc files
1 parent 0c8193a commit 3829ddb

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

Containerfile

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,11 @@ ARG IMAGE_NAME="${IMAGE_NAME}"
1010
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION}"
1111

1212
COPY 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
1515
RUN 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}"
156153
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION}"
157154

158155
COPY 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
161158
RUN 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

0 commit comments

Comments
 (0)