match new file extension for sources file

This commit is contained in:
Alex
2023-04-15 22:17:57 -06:00
parent f1b47c8695
commit d8b4cc31f9

View File

@@ -38,7 +38,7 @@ function create_ishare2_dir() {
function fetch_sources() {
check_ishare2_dir
echo -e "${YELLOW}[+] Fetching sources...${NO_COLOR}"
curl -s -o $SOURCES https://raw.githubusercontent.com/pnetlabrepo/ishare2/$CHANNEL/sources.ishare2
curl -s -o $SOURCES https://raw.githubusercontent.com/pnetlabrepo/ishare2/$CHANNEL/sources.list
# Check if curl command failed
if [[ ! -f $SOURCES ]]; then
echo -e "${RED}[-] Failed to fetch sources.${NO_COLOR}"