diff options
author | Travis Kemen <thepeople@openwrt.org> | 2008-07-29 17:23:52 +0000 |
---|---|---|
committer | Travis Kemen <thepeople@openwrt.org> | 2008-07-29 17:23:52 +0000 |
commit | a4dbc3ddb3d275aad5a71662e9be94c9b66e0c29 (patch) | |
tree | 6857918e4b8d263ce224e2c7a3a4b1ad0800a365 | |
parent | b559fb0c5ff3d171bfb865088f6aabac3c863000 (diff) | |
download | openwrt-a4dbc3ddb3d275aad5a71662e9be94c9b66e0c29.tar.gz openwrt-a4dbc3ddb3d275aad5a71662e9be94c9b66e0c29.tar.bz2 openwrt-a4dbc3ddb3d275aad5a71662e9be94c9b66e0c29.zip |
remove opkg config file and link ipkg.conf to opkg.conf being they are the same
SVN-Revision: 11994
-rw-r--r-- | package/opkg/Makefile | 3 | ||||
-rw-r--r-- | package/opkg/files/opkg.conf | 4 | ||||
-rw-r--r-- | package/opkg/files/postinst | 1 |
3 files changed, 1 insertions, 7 deletions
diff --git a/package/opkg/Makefile b/package/opkg/Makefile index 45010c7f3a..e8aebcbb48 100644 --- a/package/opkg/Makefile +++ b/package/opkg/Makefile @@ -58,9 +58,6 @@ define Build/Compile endef define Package/opkg/install - $(INSTALL_DIR) $(1)/etc - $(INSTALL_DATA) ./files/opkg.conf $(1)/etc/ - $(SED) 's,$$$$S,$(BOARD),g' $(1)/etc/opkg.conf $(INSTALL_BIN) ./files/postinst $(1)/CONTROL/postinst $(INSTALL_DIR) $(1)/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/opkg-cl $(1)/bin/opkg diff --git a/package/opkg/files/opkg.conf b/package/opkg/files/opkg.conf deleted file mode 100644 index f7f96fe2b6..0000000000 --- a/package/opkg/files/opkg.conf +++ /dev/null @@ -1,4 +0,0 @@ -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 index c479744500..6aa8731ee9 100644 --- a/package/opkg/files/postinst +++ b/package/opkg/files/postinst @@ -1,2 +1,3 @@ #!/bin/sh ln -sf "${IPKG_INSTROOT}/usr/lib/ipkg" "${IPKG_INSTROOT}/usr/lib/opkg" +ln -sf "${IPKG_INSTROOT}/etc/ipkg.conf" "${IPKG_INSTROOT}/etc/opkg.conf" |