diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-01-30 11:20:55 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-01-30 11:20:55 +0100 |
commit | 9e96117b552c19b78cc4f15922a124d1f3edc0c3 (patch) | |
tree | 19507b205cbbd8c06374daa12f8161d9a4cf90f8 /scripts | |
parent | 757fa3963c69a28b8d4e8ce083f79a007f386e00 (diff) |
remove unneeded directory after executing postinst scripts
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/tarpkg | 1 |
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 |