summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-30 11:20:55 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-30 11:20:55 +0100
commit9e96117b552c19b78cc4f15922a124d1f3edc0c3 (patch)
tree19507b205cbbd8c06374daa12f8161d9a4cf90f8 /scripts
parent757fa3963c69a28b8d4e8ce083f79a007f386e00 (diff)
remove unneeded directory after executing postinst scripts
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tarpkg1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/tarpkg b/scripts/tarpkg
index f2e5def9e..bbb242a5e 100755
--- a/scripts/tarpkg
+++ b/scripts/tarpkg
@@ -29,6 +29,7 @@ elif [ "$1" = "install" ];then
IPKG_INSTROOT="$PKG_INSTROOT" ${PKG_INSTROOT}/usr/lib/pkg/${pkg}.postinst
rm ${PKG_INSTROOT}/usr/lib/pkg/${pkg}.postinst
fi
+ rm -rf ${PKG_INSTROOT}/usr/lib/pkg
else
echo "unknown command"
exit 1