diff options
author | Silvino Silva <silvino@bk.ru> | 2017-01-15 03:24:51 +0000 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2017-01-15 03:24:51 +0000 |
commit | 028414affd22a1ae57b5024d390c856caf7ae44a (patch) | |
tree | f1b6f442a2e011b1f5ae54bd992f1cab5cf755e3 | |
parent | 066ba96efe43daba9138b36b9ac3473d7607c8bc (diff) | |
download | doc-028414affd22a1ae57b5024d390c856caf7ae44a.tar.gz |
added script to update ports repo
-rw-r--r-- | tools/scripts/autoport.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/scripts/autoport.sh b/tools/scripts/autoport.sh new file mode 100644 index 0000000..178b9d3 --- /dev/null +++ b/tools/scripts/autoport.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +# Root Directory +DIR=$(dirname "$PWD"); + +DIR_CONF=$DIR"/conf" +COL_DIR=$DIR"/c9-ports/" + +#rm ck4up.conf +for port in ${COL_DIR}*/ ; do + + echo "Checking port $port" + # (cd $port && git clean -f -d . ) + # prtwash -p -s $port + prtverify -m clean-repo $port + + #echo "${port}Pkgfile;" + #source ${port}Pkgfile; + + #echo "$name md5 ${source[0]} @TAR@" >> ck4up.conf +done + +#portspage . > $DIR/ports.html +httpup-repgen $COL_DIR |