[x-wrt] r4813 committed - fix opkg repo parsing for x-wrt

3 views
Skip to first unread message

codesite...@google.com

unread,
Aug 19, 2009, 2:45:00 AM8/19/09
to x-wrt-...@googlegroups.com
Revision: 4813
Author: kemen04
Date: Tue Aug 18 23:44:22 2009
Log: fix opkg repo parsing for x-wrt
http://code.google.com/p/x-wrt/source/detail?r=4813

Modified:
/trunk/package/webif/files/etc/init.d/webif

=======================================
--- /trunk/package/webif/files/etc/init.d/webif Wed Jul 15 01:16:26 2009
+++ /trunk/package/webif/files/etc/init.d/webif Tue Aug 18 23:44:22 2009
@@ -153,7 +153,7 @@
xwrt_repos=$(cat /etc/opkg.conf | grep -v "downloads.x-wrt.org")
echo "$xwrt_repos" > /etc/opkg.conf
opkg_revision=$(cat /etc/opkg.conf |grep "openwrt" |cut -d':' -f2 |cut
-d'/' -f4)
- opkg_arch=$(cat /etc/opkg.conf |grep "openwrt" |cut -d':' -f2 |cut -d'/'
-f5)
+ opkg_arch=$(cat /etc/opkg.conf |grep "openwrt" |cut -d':' -f2 |cut -d'/'
-f6)
echo "src X-Wrt
http://downloads.x-wrt.org/xwrt/kamikaze/$opkg_revision/$opkg_arch/packages"
>> /etc/opkg.conf
opkg update
# force re-initialization of extension package lists

Reply all
Reply to author
Forward
0 new messages