revert wrong url syntax

This commit is contained in:
Tobias Powalowski 2018-06-23 14:32:06 +02:00
parent d3c2c566c3
commit b80b239ecd
3 changed files with 4 additions and 4 deletions

View file

@ -67,7 +67,7 @@ build ()
PACKAGES=$(for i in ${SEARCHSVN};do ! [ "$(echo $i | awk -F/ '{print $3}')" = "" ] && (. $i/PKGBUILD; echo ${pkgname[@]});unset pkgname;done) PACKAGES=$(for i in ${SEARCHSVN};do ! [ "$(echo $i | awk -F/ '{print $3}')" = "" ] && (. $i/PKGBUILD; echo ${pkgname[@]});unset pkgname;done)
pacman -Sy pacman -Sy
SIGNATURES="" SIGNATURES=""
for i in $(pacman -Sp ${PACKAGES}); do for i in $(pacman --cachedir / -Sp ${PACKAGES}); do
SIGNATURES="${SIGNATURES} ${i}.sig" SIGNATURES="${SIGNATURES} ${i}.sig"
done done
wget -N --directory-prefix /var/cache/pacman/pkg/ ${SIGNATURES} wget -N --directory-prefix /var/cache/pacman/pkg/ ${SIGNATURES}
@ -122,7 +122,7 @@ build ()
# set LANG to US we parse language output here # set LANG to US we parse language output here
LANG=US LANG=US
for i in refind-efi; do for i in refind-efi; do
wget -N --directory-prefix /var/cache/pacman/pkg/ $(pacman -Sp $i).sig wget -N --directory-prefix /var/cache/pacman/pkg/ $(pacman --cachedir / -Sp $i).sig
pacman -Sw --noconfirm $i pacman -Sw --noconfirm $i
pkgver="$(echo $(pacman -Si $i | grep -m 1 Version | cut -d ":" -f 2,3))" pkgver="$(echo $(pacman -Si $i | grep -m 1 Version | cut -d ":" -f 2,3))"

View file

@ -42,7 +42,7 @@ usage() {
# creates temporary pacman.conf file # creates temporary pacman.conf file
pacman_conf() { pacman_conf() {
if [[ "${MODE}" = "media" ]]; then if [[ "${MODE}" = "media" ]]; then
serverurl="file:///${PKGARG}" serverurl="file://${PKGARG}"
elif [[ "${MODE}" = "net" ]]; then elif [[ "${MODE}" = "net" ]]; then
serverurl="${PKGARG}" serverurl="${PKGARG}"
fi fi

View file

@ -28,7 +28,7 @@ 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" FILE_URL="file:///packages/core-$(uname -m)/pkg"
MIRRORLIST="/etc/pacman.d/mirrorlist" MIRRORLIST="/etc/pacman.d/mirrorlist"
unset PACKAGES unset PACKAGES