Update glacier-update.sh

This commit is contained in:
everest 2022-03-28 21:04:33 +00:00 committed by GitHub
parent 5597383b6c
commit 85c3169139
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ if [[ $(/usr/bin/id -u) -ne 0 ]]; then
fi fi
echo "[ ? ] Enter package name:" && read input echo "[ ? ] Enter package name:" && read input
echo "[ i ] Downloading $input.tar.gz..." echo "[ i ] Updating $input.tar.gz..."
wget https://github.com/everest-linux/glacier-pkgs/raw/main/pkgs/$input.tar.gz wget https://github.com/everest-linux/glacier-pkgs/raw/main/pkgs/$input.tar.gz
if [ "$?" != "0" ]; then if [ "$?" != "0" ]; then
echo "[ X ] Could not get archive for $input." 1>&2 echo "[ X ] Could not get archive for $input." 1>&2