Put default configuration in config.sh
This commit is contained in:
parent
6093fddfff
commit
485057f42d
2 changed files with 22 additions and 8 deletions
22
config.sh
Normal file
22
config.sh
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
## Default config.sh
|
||||||
|
#
|
||||||
|
# Here one can change the settings used to update the mirrors
|
||||||
|
# configuration file.
|
||||||
|
|
||||||
|
# The base URL for Archlinux's mirror list
|
||||||
|
url="https://www.archlinux.org/mirrorlist"
|
||||||
|
|
||||||
|
# Mirrors in which countries should be selected
|
||||||
|
countries=("BE" "NL")
|
||||||
|
|
||||||
|
# Mirrors with which protocols should be selected
|
||||||
|
protocols=("http" "https")
|
||||||
|
|
||||||
|
# Mirrors with which IP versions should be selected
|
||||||
|
ip_versions=(4)
|
||||||
|
|
||||||
|
# Should the mirror status be used to select mirrors
|
||||||
|
use_mirror_status="on"
|
||||||
|
|
||||||
|
# Where should the mirror list be saved.
|
||||||
|
dest="/etc/pacman.d/mirrorlist"
|
|
@ -1,13 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Changeable options
|
|
||||||
url="https://www.archlinux.org/mirrorlist"
|
|
||||||
countries=("BE" "NL")
|
|
||||||
protocols=("http" "https")
|
|
||||||
ip_versions=(4)
|
|
||||||
use_mirror_status="on"
|
|
||||||
dest="/etc/pacman.d/mirrorlist"
|
|
||||||
|
|
||||||
# Functions
|
# Functions
|
||||||
function fold () { /usr/bin/fold --spaces --width=$(tput cols); }
|
function fold () { /usr/bin/fold --spaces --width=$(tput cols); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue