Skip to content

Commit

Permalink
Update optimizer.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
opiran-club authored Nov 9, 2023
1 parent f4492c0 commit 95fdaf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions optimizer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ sourcelist() {
return
;;
esac
wget -q /etc/apt/sources.list "$source_url"
if wget -q /etc/apt/sources.list "$source_url"; then
wget -q -O /etc/apt/sources.list "$source_url"
if wget -q -O /etc/apt/sources.list "$source_url"; then
printf "${GREEN}Your source list was updated successfully, for $architecture ${NC}\n"
else
printf "${RED}Error: Failed to update your source list.${NC}\n"
Expand Down

0 comments on commit 95fdaf7

Please sign in to comment.