Fixed binaries URL

This commit is contained in:
oezh
2022-01-20 16:27:14 -05:00
committed by GitHub
parent b8faef7b49
commit 0045b31367
+6 -6
View File
@@ -21,24 +21,24 @@ if [ -n "$(command -v apt-get)" ]; then
apt-get install -y p7zip-full >> $LOG 2>&1 apt-get install -y p7zip-full >> $LOG 2>&1
echo "Downloading Binaries..." echo "Downloading Binaries..."
echo "" echo ""
wget https://git.zhconsultores.com/oswaldo/Knot/raw/branch/master/bin/Debian/knot >> $LOG 2>&1 wget https://github.com/oezh/knot/raw/main/bin/Debian/knot >> $LOG 2>&1
wget https://git.zhconsultores.com/oswaldo/Knot/raw/branch/master/bin/Debian/unknot >> $LOG 2>&1 wget https://github.com/oezh/knot/raw/main/bin/Debian/unknot >> $LOG 2>&1
elif [ -n "$(command -v pacman)" ]; then elif [ -n "$(command -v pacman)" ]; then
pacman -Sy >> $LOG 2>&1 pacman -Sy >> $LOG 2>&1
pacman -S --noconfirm p7zip >> $LOG 2>&1 pacman -S --noconfirm p7zip >> $LOG 2>&1
echo "Downloading Binaries..." echo "Downloading Binaries..."
echo "" echo ""
wget https://git.zhconsultores.com/oswaldo/Knot/raw/branch/master/bin/Manjaro/knot >> $LOG 2>&1 wget https://github.com/oezh/knot/raw/main/bin/Manjaro/knot >> $LOG 2>&1
wget https://git.zhconsultores.com/oswaldo/Knot/raw/branch/master/bin/Manjaro/unknot >> $LOG 2>&1 wget https://github.com/oezh/knot/raw/main/bin/Manjaro/unknot >> $LOG 2>&1
elif [ -n "$(command -v brew)" ]; then elif [ -n "$(command -v brew)" ]; then
brew update >> $LOG 2>&1 brew update >> $LOG 2>&1
brew install p7zip >> $LOG 2>&1 brew install p7zip >> $LOG 2>&1
echo "Downloading Binaries..." echo "Downloading Binaries..."
echo "" echo ""
wget https://git.zhconsultores.com/oswaldo/Knot/raw/branch/master/bin/MacOS/knot >> $LOG 2>&1 wget https://github.com/oezh/knot/raw/main/bin/MacOS/knot >> $LOG 2>&1
wget https://git.zhconsultores.com/oswaldo/Knot/raw/branch/master/bin/MacOS/unknot >> $LOG 2>&1 wget https://github.com/oezh/knot/raw/main/bin/MacOS/unknot >> $LOG 2>&1
else else
echo "Dependency not found: [apt|pacman|brew]" echo "Dependency not found: [apt|pacman|brew]"