Skip to content

Commit 712d02e

Browse files
authored
Fix mkdir command to use -p option
1 parent 2abe74f commit 712d02e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prepare.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ wget -qN --show-progress -P "airootfs/root/" "https://raw.githubusercontent.com/
2424
chmod +x "./"{"mkarchiso","run_before_squashfs.sh"}
2525

2626
get_pkg() {
27-
sudo mkdir /tmp/pkg-cache \
27+
sudo mkdir -p /tmp/pkg-cache \
2828
&& sudo pacman -Syw "$1" --cachedir /tmp/pkg-cache --noconfirm \
2929
&& sudo cp /tmp/pkg-cache/*.pkg.tar.zst airootfs/root/packages/ \
3030
&& sudo chown $USER:$USER "airootfs/root/packages/"*".pkg.tar"*

0 commit comments

Comments
 (0)