From 73aa9d7d82ee2e48508cf41812bce6ce4542fc2e Mon Sep 17 00:00:00 2001 From: tripolar Date: Sat, 26 Oct 2013 16:09:40 +0000 Subject: [PATCH] [packages] grep: simplify package remove git-svn-id: svn://svn.openwrt.org/openwrt/packages@38543 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/grep/Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/utils/grep/Makefile b/utils/grep/Makefile index b6725c089..6e648e017 100644 --- a/utils/grep/Makefile +++ b/utils/grep/Makefile @@ -44,14 +44,7 @@ endef define Package/grep/prerm $${IPKG_INSTROOT}/bin/busybox grep -h 2>&1 | grep -q BusyBox && \ -touch $${IPKG_INSTROOT}/tmp/bb_with_grep -endef - -define Package/grep/postrm -#!/bin/sh -[ -f $${IPKG_INSTROOT}/tmp/bb_with_grep ] && \ -ln -sf busybox $${IPKG_INSTROOT}/bin/grep && \ -rm $${IPKG_INSTROOT}/tmp/bb_with_grep +ln -sf busybox $${IPKG_INSTROOT}/bin/grep exit 0 endef -- 2.11.0