summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-03-30 11:07:46 +0200
committerRemi Collet <fedora@famillecollet.com>2017-03-30 11:07:46 +0200
commit0cb6d707ad3d8c8bb826afd8b05ae3d518e41033 (patch)
tree408988b75cdd7c91b739f5ce33395ae1d041d47a
parenta2489cace57eb327353c6c497486a69633c0de84 (diff)
always use sha256 for repo data
-rwxr-xr-xmkrepo7
1 files changed, 1 insertions, 6 deletions
diff --git a/mkrepo b/mkrepo
index 1ef3e20..cb75f98 100755
--- a/mkrepo
+++ b/mkrepo
@@ -40,12 +40,7 @@ fi
cache=/home/rpmbuild/site/rpms/.createrepocache/$nom
mkdir -p $cache
-if [ $dis == fedora -a $ver -ge 11 ]
-then check=sha256
-elif [ $dis == enterprise -a $ver -ge 6 ]
-then check=sha256
-else check=sha
-fi
+check=sha256
echo "+ Génération des meta + sql ($check)"
createrepo --workers 4 \
--cachedir $cache \