match new file extension for sources file
This commit is contained in:
2
ishare2
2
ishare2
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user