Update install script to use 'dnf update' for Fedora repository updates
This commit is contained in:
@@ -33,7 +33,7 @@ else
|
|||||||
sudo apt update
|
sudo apt update
|
||||||
elif [[ "$ID" == "fedora" ]]; then
|
elif [[ "$ID" == "fedora" ]]; then
|
||||||
echo -e "${YELLOW}[+] Updating DNF repositories...${NC}"
|
echo -e "${YELLOW}[+] Updating DNF repositories...${NC}"
|
||||||
sudo dnf check-update
|
sudo dnf update
|
||||||
elif [[ "$ID" == "arch" ]]; then
|
elif [[ "$ID" == "arch" ]]; then
|
||||||
echo -e "${YELLOW}[+] Updating PACMAN repositories...${NC}"
|
echo -e "${YELLOW}[+] Updating PACMAN repositories...${NC}"
|
||||||
sudo pacman -Sy
|
sudo pacman -Sy
|
||||||
|
|||||||
Reference in New Issue
Block a user