Skip to content

Commit 307f262

Browse files
committed
chore(ci): switch to heredocs
1 parent 0a67fb1 commit 307f262

1 file changed

Lines changed: 14 additions & 12 deletions

File tree

Containerfile

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,20 @@ COPY --from=ghcr.io/ublue-os/aurora-wallpapers:latest / /wallpapers
66

77
COPY /logos /logos
88

9-
RUN set -xeuo pipefail && \
10-
cd /wallpapers && \
11-
rm -rf kde/*/gnome-background-properties/ && \
12-
mkdir -p /out/wallpapers/usr/share/wallpapers /out/wallpapers/usr/share/backgrounds && \
13-
mv kde/ /out/wallpapers/usr/share/backgrounds/aurora/ && \
14-
cd /out/wallpapers/usr/share/backgrounds && \
15-
for dir in aurora/*; do \
16-
ln -sr "/out/wallpapers/usr/share/backgrounds/${dir}" /out/wallpapers/usr/share/wallpapers/; \
17-
done && \
18-
ln -sr /out/wallpapers/usr/share/backgrounds/aurora/aurora-wallpaper-6/ /out/wallpapers/usr/share/backgrounds/aurora/aurora-wallpaper-1 && \
19-
ln -sr /out/wallpapers/usr/share/backgrounds/aurora/aurora-wallpaper-1/ /out/wallpapers/usr/share/wallpapers/ && \
20-
rm -rf /wallpapers
9+
RUN <<EOF
10+
set -xeuo pipefail
11+
cd /wallpapers
12+
rm -rf kde/*/gnome-background-properties/
13+
mkdir -p /out/wallpapers/usr/share/wallpapers /out/wallpapers/usr/share/backgrounds
14+
mv kde/ /out/wallpapers/usr/share/backgrounds/aurora/
15+
cd /out/wallpapers/usr/share/backgrounds
16+
for dir in aurora/*; do
17+
ln -sr "/out/wallpapers/usr/share/backgrounds/${dir}" /out/wallpapers/usr/share/wallpapers/
18+
done
19+
ln -sr /out/wallpapers/usr/share/backgrounds/aurora/aurora-wallpaper-6/ /out/wallpapers/usr/share/backgrounds/aurora/aurora-wallpaper-1 && \
20+
ln -sr /out/wallpapers/usr/share/backgrounds/aurora/aurora-wallpaper-1/ /out/wallpapers/usr/share/wallpapers/ && \
21+
rm -rf /wallpapers
22+
EOF
2123

2224
# Here we set our default wallpaper
2325
RUN set -xeuo pipefail && \

0 commit comments

Comments
 (0)