Skip to content

Commit

Permalink
[welcome] prepare to keep the ranked endeavouros-mirrorlist at instal…
Browse files Browse the repository at this point in the history
…l phase
  • Loading branch information
manuel-192 committed Jan 30, 2025
1 parent 3836740 commit dc36549
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions welcome
Original file line number Diff line number Diff line change
Expand Up @@ -1695,6 +1695,13 @@ StartHere() {
Welog "Warning: cannot make a backup of mirrorlist!"
fi
fi
if [ ! -r /tmp/endeavouros-mirrorlist.bu ] ; then
if [ -r /etc/pacman.d/endeavouros-mirrorlist ] ; then
cp /etc/pacman.d/endeavouros-mirrorlist /tmp/endeavouros-mirrorlist.bu # to be checked by update-mirrorlist
else
Welog "Warning: cannot make a backup of endeavouros-mirrorlist!"
fi
fi
fi

local handle="$(shuf -i 700000-999999 -n 1)"
Expand Down

0 comments on commit dc36549

Please sign in to comment.