hbbs

bbs.hlirc.net
Log | Files | Refs | README | LICENSE

commit bcd78669f383091804607fe5b675c93739e1a664
parent 92ef08edefc99dfd13e6179978699b324e622d97
Author: hhvn <hayden@haydenvh.com>
Date:   Wed,  3 Feb 2021 01:20:26 +0000

.version datadir_upgrade/1.2: bump to version 1.2 (stability/security/spam)

Diffstat:
M.version | 2+-
Adatadir_upgrade/1.2 | 19+++++++++++++++++++
2 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/.version b/.version @@ -1 +1 @@ -1.1 +1.2 diff --git a/datadir_upgrade/1.2 b/datadir_upgrade/1.2 @@ -0,0 +1,19 @@ +#!/bin/sh +# vim: set syntax=sh : + +cwd=$(dirname $0 | sed 's~/[^/]*$~/~') +. $cwd/include/userinfo.sh +. $cwd/include/lock.sh +. $cwd/config.sh + +for f in $(find $datadir/boards -name list) +do + lock $f + awk -F" " ' + BEGIN {OFS="\t"} + $5 == "_" {print $1, $2, $3, $4, "-->", $6, $7} + $5 != "_" + ' < $f > $f.new + mv $f.new $f + unlock $f +done