summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2012-07-02 09:11:23 +0200
committerPierre Schmitz <pierre@archlinux.de>2012-07-02 09:11:23 +0200
commitb0895835a3fcca4bbb3e79e24dcf6789d519c718 (patch)
treeff8b1150063b21e4399eb1f0208a768181560b36
parente06f6e91dace0acb2cf5dcd0e337253b821d6913 (diff)
downloadrepo-tools-b0895835a3fcca4bbb3e79e24dcf6789d519c718.tar.gz
repo-tools-b0895835a3fcca4bbb3e79e24dcf6789d519c718.tar.xz
remove (now) useless stats script
-rwxr-xr-xstats25
1 files changed, 0 insertions, 25 deletions
diff --git a/stats b/stats
deleted file mode 100755
index b6ab3a6..0000000
--- a/stats
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-home="$(dirname "$(readlink -f $0)")"
-repo="${home}/repo"
-
-totalPackages=$(find ${repo} -type f -name '*.pkg.tar.?z' | wc -l)
-
-gzPackages=$(find ${repo} -type f -name '*.pkg.tar.gz' | wc -l)
-gzPercentage=$(echo "scale=4; ${gzPackages}/${totalPackages}*100" | bc)
-
-xzPackages=$(find ${repo} -type f -name '*.pkg.tar.xz' | wc -l)
-xzPercentage=$(echo "scale=4; ${xzPackages}/${totalPackages}*100" | bc)
-
-signedPackages=$(find ${repo} -type f -name '*.pkg.tar.?z.sig' | wc -l)
-signedPercentage=$(echo "scale=4; ${signedPackages}/${totalPackages}*100" | bc)
-
-pooledPackages=$(find ${repo}/pool -type f -name '*.pkg.tar.?z' | wc -l)
-pooledPercentage=$(echo "scale=4; ${pooledPackages}/${totalPackages}*100" | bc)
-
-echo -e "\t\tpackages\tpercentage"
-echo -e "total\t\t${totalPackages}"
-echo -e "pooled\t\t${pooledPackages}\t\t${pooledPercentage}%"
-echo -e "xz\t\t${xzPackages}\t\t${xzPercentage}%"
-echo -e "gzip\t\t${gzPackages}\t\t${gzPercentage}%"
-echo -e "signed\t\t${signedPackages}\t\t${signedPercentage}%"