fix update and refresh
This commit is contained in:
@@ -20,6 +20,10 @@ EOF
|
||||
clear
|
||||
print_logo
|
||||
|
||||
echo "Let's ensure we get the lastest changes to HamPack..."
|
||||
HAMPACK_DIR="$HOME/.local/share/HamPack"
|
||||
|
||||
wget -qO- https://gitea.young.computer/david/hampack/raw/branch/main/install.sh | bash
|
||||
echo "Let's ensure we get the latest changes to HamPack..."
|
||||
git -C "$HAMPACK_DIR" pull
|
||||
|
||||
echo "Running HamPack installer..."
|
||||
bash "$HAMPACK_DIR/install.sh"
|
||||
|
||||
@@ -23,6 +23,14 @@ print_logo
|
||||
echo "Updating Arch..."
|
||||
sudo pacman -Syu
|
||||
|
||||
HAMPACK_DIR="$HOME/.local/share/HamPack"
|
||||
|
||||
echo "Pulling latest HamPack configuration..."
|
||||
git -C "$HAMPACK_DIR" pull
|
||||
|
||||
echo "Running HamPack installer..."
|
||||
bash "$HAMPACK_DIR/install.sh"
|
||||
|
||||
echo "Updating AUR..."
|
||||
|
||||
if ! yay -Sua 2>/dev/null; then
|
||||
@@ -39,11 +47,3 @@ if ! yay -Sua 2>/dev/null; then
|
||||
else
|
||||
yay -Sua --noconfirm
|
||||
fi
|
||||
|
||||
HAMPACK_DIR="$HOME/.local/share/HamPack"
|
||||
|
||||
echo "Pulling latest HamPack configuration..."
|
||||
git -C "$HAMPACK_DIR" pull
|
||||
|
||||
echo "Running HamPack installer..."
|
||||
bash "$HAMPACK_DIR/install.sh"
|
||||
|
||||
Reference in New Issue
Block a user