mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00: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"
|
DLPROG="wget"
|
||||||
# sources
|
# sources
|
||||||
SYNC_URL=""
|
SYNC_URL=""
|
||||||
FILE_URL="file:///packages/core-$(uname -m)/pkg"
|
|
||||||
MIRRORLIST="/etc/pacman.d/mirrorlist"
|
MIRRORLIST="/etc/pacman.d/mirrorlist"
|
||||||
unset PACKAGES
|
unset PACKAGES
|
||||||
|
|
||||||
|
@ -2579,9 +2578,7 @@ dotesting() {
|
||||||
# pacman_conf()
|
# pacman_conf()
|
||||||
# creates temporary pacman.conf file
|
# creates temporary pacman.conf file
|
||||||
pacman_conf() {
|
pacman_conf() {
|
||||||
if [[ "${MODE}" = "media" ]]; then
|
if [[ "${MODE}" = "network" ]]; then
|
||||||
local serverurl="${FILE_URL}"
|
|
||||||
elif [[ "${MODE}" = "network" ]]; then
|
|
||||||
local serverurl="${SYNC_URL}"
|
local serverurl="${SYNC_URL}"
|
||||||
if [[ "${DOTESTING}" = "yes" ]]; then
|
if [[ "${DOTESTING}" = "yes" ]]; then
|
||||||
TESTING_REPOSITORY="[testing]"
|
TESTING_REPOSITORY="[testing]"
|
||||||
|
|
Loading…
Reference in a new issue