mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove not needed functions from media install
This commit is contained in:
parent
2e641b5eea
commit
0b98dc0b49
1 changed files with 1 additions and 4 deletions
|
@ -30,7 +30,6 @@ PACMAN="pacman --root ${DESTDIR} --config /tmp/pacman.conf --noconfirm --noprogr
|
|||
DLPROG="wget"
|
||||
# sources
|
||||
SYNC_URL=""
|
||||
FILE_URL="file:///packages/core-$(uname -m)/pkg"
|
||||
MIRRORLIST="/etc/pacman.d/mirrorlist"
|
||||
unset PACKAGES
|
||||
|
||||
|
@ -2579,9 +2578,7 @@ dotesting() {
|
|||
# pacman_conf()
|
||||
# creates temporary pacman.conf file
|
||||
pacman_conf() {
|
||||
if [[ "${MODE}" = "media" ]]; then
|
||||
local serverurl="${FILE_URL}"
|
||||
elif [[ "${MODE}" = "network" ]]; then
|
||||
if [[ "${MODE}" = "network" ]]; then
|
||||
local serverurl="${SYNC_URL}"
|
||||
if [[ "${DOTESTING}" = "yes" ]]; then
|
||||
TESTING_REPOSITORY="[testing]"
|
||||
|
|
Loading…
Reference in a new issue