From 572e63ac34fa2334623b063bf773408575f6d1ea Mon Sep 17 00:00:00 2001 From: JGill Date: Thu, 23 Jul 2020 10:40:33 +0930 Subject: [PATCH 1/2] pkg install git zsh wget for BSD --- quickz.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quickz.sh b/quickz.sh index 201a7e6..d845b8b 100755 --- a/quickz.sh +++ b/quickz.sh @@ -3,10 +3,10 @@ if command -v zsh &> /dev/null && command -v git &> /dev/null && command -v wget &> /dev/null; then echo -e "ZSH and Git are already installed\n" else - if sudo apt install -y zsh git wget || sudo dnf install -y zsh git wget || sudo yum install -y zsh git wget || sudo brew install git zsh wget ; then - echo -e "ZSH and Git Installed\n" + if sudo apt install -y zsh git wget || sudo dnf install -y zsh git wget || sudo yum install -y zsh git wget || sudo brew install git zsh wget || pkg install git zsh wget; then + echo -e "zsh wget and git Installed\n" else - echo -e "Can't install ZSH or Git\n" && exit + echo -e "Please install the following packages first, then try again: zsh git wget \n" && exit fi fi From 7009da24d58f97d04457f08fb1a8a0e2bbdb5326 Mon Sep 17 00:00:00 2001 From: JGill Date: Thu, 23 Jul 2020 10:47:09 +0930 Subject: [PATCH 2/2] Pushing the whole of space and time continuum --- quickz.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickz.sh b/quickz.sh index d845b8b..1f3caa8 100755 --- a/quickz.sh +++ b/quickz.sh @@ -3,7 +3,7 @@ if command -v zsh &> /dev/null && command -v git &> /dev/null && command -v wget &> /dev/null; then echo -e "ZSH and Git are already installed\n" else - if sudo apt install -y zsh git wget || sudo dnf install -y zsh git wget || sudo yum install -y zsh git wget || sudo brew install git zsh wget || pkg install git zsh wget; then + if sudo apt install -y zsh git wget || sudo dnf install -y zsh git wget || sudo yum install -y zsh git wget || sudo brew install git zsh wget || pkg install git zsh wget ; then echo -e "zsh wget and git Installed\n" else echo -e "Please install the following packages first, then try again: zsh git wget \n" && exit