aboutsummaryrefslogtreecommitdiffstats
path: root/package/opkg/files
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2008-07-29 04:16:43 +0000
committerTravis Kemen <thepeople@openwrt.org>2008-07-29 04:16:43 +0000
commit53332ba9c28d35c9bb1d4dc8aef5ac0bbab06e53 (patch)
tree283494dad5b4da0291f6d16cdaab4e049354a336 /package/opkg/files
parent2ddbb426c884d53498aa024de767b5dede4ebb9f (diff)
downloadupstream-53332ba9c28d35c9bb1d4dc8aef5ac0bbab06e53.tar.gz
upstream-53332ba9c28d35c9bb1d4dc8aef5ac0bbab06e53.tar.bz2
upstream-53332ba9c28d35c9bb1d4dc8aef5ac0bbab06e53.zip
add opkg - symlink /usr/lib/ipkg to /usr/lib/opkg so that opkg can be used as a drop in replacement of ipkg
SVN-Revision: 11983
Diffstat (limited to 'package/opkg/files')
-rw-r--r--package/opkg/files/opkg.conf4
-rw-r--r--package/opkg/files/postinst2
2 files changed, 6 insertions, 0 deletions
diff --git a/package/opkg/files/opkg.conf b/package/opkg/files/opkg.conf
new file mode 100644
index 0000000000..f7f96fe2b6
--- /dev/null
+++ b/package/opkg/files/opkg.conf
@@ -0,0 +1,4 @@
+src snapshots http://downloads.openwrt.org/snapshots/$S/packages
+dest root /
+dest ram /tmp
+lists_dir ext /var/opkg-lists
diff --git a/package/opkg/files/postinst b/package/opkg/files/postinst
new file mode 100644
index 0000000000..c479744500
--- /dev/null
+++ b/package/opkg/files/postinst
@@ -0,0 +1,2 @@
+#!/bin/sh
+ln -sf "${IPKG_INSTROOT}/usr/lib/ipkg" "${IPKG_INSTROOT}/usr/lib/opkg"