From a559284df14e455fb40317a93843eb1b5c6c672b Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Fri, 7 Jan 2011 18:21:43 +0100 Subject: wget: install /etc/wgetrc along with the package Signed-off-by: Phil Sutter --- package/wget/Makefile | 3 ++- package/wget/files/wget.conffiles | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 package/wget/files/wget.conffiles (limited to 'package') diff --git a/package/wget/Makefile b/package/wget/Makefile index 6629e12b3..e2ff151f4 100644 --- a/package/wget/Makefile +++ b/package/wget/Makefile @@ -17,7 +17,8 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,WGET,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) post-install: - ${INSTALL_DIR} ${IDIR_WGET}/usr/bin + ${INSTALL_DIR} ${IDIR_WGET}/etc ${IDIR_WGET}/usr/bin + ${INSTALL_DATA} ${WRKINST}/etc/wgetrc ${IDIR_WGET}/etc/ ${INSTALL_BIN} ${WRKINST}/usr/bin/wget ${IDIR_WGET}/usr/bin include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/wget/files/wget.conffiles b/package/wget/files/wget.conffiles new file mode 100644 index 000000000..fc52bd1a2 --- /dev/null +++ b/package/wget/files/wget.conffiles @@ -0,0 +1 @@ +/etc/wgetrc -- cgit v1.2.3