Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Daniel Hansson <[email protected]>
  • Loading branch information
enoch85 and github-actions[bot] authored Sep 23, 2024
1 parent 6cf9cac commit 82f29ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion menu/startup_configuration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fi
FIND_SOURCES="$(find /etc/apt/ -type f -name "*sources*")"
for source in $FIND_SOURCES
do
REPO=$(grep "URIs:" $source | grep http | awk '{print $2}' | head -1)
REPO=$(grep "URIs:" "$source" | grep http | awk '{print $2}' | head -1)
done
# Check if it matches
if [ "$REPO" = 'http://archive.ubuntu.com/ubuntu' ]
Expand Down

0 comments on commit 82f29ea

Please sign in to comment.