Browse Source

remove unneeded directory after executing postinst scripts

Waldemar Brodkorb 14 years ago
parent
commit
9e96117b55
1 changed files with 1 additions and 0 deletions
  1. 1 0
      scripts/tarpkg

+ 1 - 0
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