err handling

This commit is contained in:
Didier Slof 2022-12-18 22:52:02 +01:00
parent 482eb5a163
commit adcb02180d
Signed by: didier
GPG key ID: 01E71F18AA4398E5

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 ""
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"