Skip to content

Commit 1853cdf

Browse files
committed
fix(functions/switch_ubuntu_local_mirror): Drop unnecessary line folding.
Signed-off-by: 林博仁(Buo-ren Lin) <buo.ren.lin@gmail.com>
1 parent a8eff8b commit 1853cdf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

functions.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,8 +677,7 @@ switch_ubuntu_local_mirror(){
677677
if ! grep -q "${region_code}.archive.u" "${sources_list_file}"; then
678678
printf \
679679
'Info: Switching to use the local APT software repository mirror...\n'
680-
if ! \
681-
sed \
680+
if ! sed \
682681
--regexp-extended \
683682
--in-place \
684683
"s@//([[:alpha:]]+\\.)?archive\\.ubuntu\\.com@//${region_code}.archive.ubuntu.com@g" \

0 commit comments

Comments
 (0)