Skip to content

Commit

Permalink
Better docker builder.
Browse files Browse the repository at this point in the history
  • Loading branch information
clsty committed Nov 27, 2024
1 parent 950c1ce commit bbef23f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dockerin.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
if [ -z "$1" ]
if [ -z "$1" ];then
docker exec -it arCNiso /bin/bash
else
docker exec -it arCNiso "$@"
Expand Down
6 changes: 3 additions & 3 deletions patchedmkarchiso/deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ echo "正在安装所需依赖..."

function install { sudo pacman -S --needed --noconfirm efitools sbsigntools; }

install || (aaa sudo pacman -Sy && install) || aaa sudo pacman -Su || aaa install
install || (aaa sudo pacman -Sy && install) || aaa sudo pacman -Su --noconfirm || aaa install

echo "正在安装 shim-signed..."
if test -f ../aur/pkgs/shim-signed*.pkg.tar.zst
then sudo pacman -U ../aur/pkgs/shim-signed*.pkg.tar.zst
else aaa paru -S --needed shim-signed
then sudo pacman -U --noconfirm ../aur/pkgs/shim-signed*.pkg.tar.zst
else aaa paru -S --needed --noconfirm shim-signed
fi

0 comments on commit bbef23f

Please sign in to comment.