Explorar o código

remove unneeded directory after executing postinst scripts

Waldemar Brodkorb %!s(int64=16) %!d(string=hai) anos
pai
achega
9e96117b55
Modificáronse 1 ficheiros con 1 adicións e 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