Sfoglia il codice sorgente

remove unneeded directory after executing postinst scripts

Waldemar Brodkorb 14 anni fa
parent
commit
9e96117b55
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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