Skip to content

Commit eea6c70

Browse files
authored
SC
Signed-off-by: Daniel Hansson <[email protected]>
1 parent f0e261c commit eea6c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

menu/startup_configuration.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ else
3737
fi
3838

3939
# Get the correct apt-mirror
40-
REPO=$(grep "URIs:" $(find /etc/apt/ -type f -name "*sources*") | grep http | awk '{print $2}' | head -1)
40+
REPO=$(grep "URIs:" "$(find /etc/apt/ -type f -name "*sources*")" | grep http | awk '{print $2}' | head -1)
4141
if [ "$REPO" = 'http://archive.ubuntu.com/ubuntu' ]
4242
then
4343
MIRROR_SWITCH="ON"

0 commit comments

Comments
 (0)