From 4b1a3bc46d818dd713697ab9021418aba45c07fd Mon Sep 17 00:00:00 2001 From: Raine Date: Sat, 14 Oct 2023 22:38:05 +0200 Subject: [PATCH] err handling --- command.list | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/command.list b/command.list index 8db5df5..c855eca 100644 --- a/command.list +++ b/command.list @@ -1,6 +1,6 @@ -^. ./sync.conf && $PM_COMMAND $PM_UPGRADE $PM_NOCONFIRM +^. ./sync.conf && $PM_COMMAND $PM_UPGRADE $PM_NOCONFIRM || printf "" ^[ -d /tmp/yay ] && rm -rf /tmp/yay || printf "" -command -v makepkg && (command -v yay || (git clone https://aur.archlinux.org/yay /tmp/yay && (cd /tmp/yay && makepkg --noconfirm -si))) +command -v makepkg && (command -v yay || (git clone https://aur.archlinux.org/yay /tmp/yay && (cd /tmp/yay && makepkg --noconfirm -si))) || printf "" ^[ -d /tmp/pfetch ] && rm -rf /tmp/pfetch || printf "" -^git clone https://github.com/dylanaraps/pfetch.git /tmp/pfetch && cd /tmp/pfetch && (chmod a+x ./pfetch && $SYS_SUDO mv ./pfetch /usr/local/pfetch) +^(git clone https://github.com/dylanaraps/pfetch.git /tmp/pfetch && cd /tmp/pfetch && (chmod a+x ./pfetch && $SYS_SUDO mv ./pfetch /usr/local/pfetch)) || printf "" sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended || echo "zsh not installed"