Explorar el Código

remove unneeded directory after executing postinst scripts

Waldemar Brodkorb hace 14 años
padre
commit
9e96117b55
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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