err handling

This commit is contained in:
Strix 2023-10-14 22:38:05 +02:00
parent af2ece1969
commit 4b1a3bc46d
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774

View file

@ -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 "" ^[ -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 "" ^[ -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" sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended || echo "zsh not installed"