From 6874918126e349955cfd8b7b51bd360ae0cc30fa Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Wed, 11 Feb 2009 12:12:34 -0800 Subject: [PATCH] Change pkg_radd to postfix DragonFly-x.x.x onto the path. This will work in conjunction with the new pkgbox redirect CGI which no longer post-pends the OS path, and softlinks in the packages/ sub-directory to point to the correct quarterly release. --- usr.bin/pkg_radd/pkg_radd.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.bin/pkg_radd/pkg_radd.sh b/usr.bin/pkg_radd/pkg_radd.sh index e822f3b4a1..2f3eabf56b 100644 --- a/usr.bin/pkg_radd/pkg_radd.sh +++ b/usr.bin/pkg_radd/pkg_radd.sh @@ -33,7 +33,8 @@ if [ -z "$BINPKG_SITES" ] then - BINPKG_SITES=http://pkgbox.dragonflybsd.org/ + osver=`uname -r | awk -F - '{ print $1; }'` + BINPKG_SITES=http://pkgbox.dragonflybsd.org/DragonFly-$osver [ -f /etc/settings.conf ] && . /etc/settings.conf fi -- 2.11.4.GIT