This commit is contained in:
parent
05ec5f94ab
commit
7f2c9f4491
1 changed files with 2 additions and 2 deletions
4
start.sh
4
start.sh
|
@ -25,9 +25,9 @@ do
|
|||
OUTPUT="$(basename "$PKGLIST")"
|
||||
echo "version 2" > tmplist0
|
||||
cat "$PKGLIST" >> tmplist0
|
||||
sig=$(./fteqw64 -privkey ./private-key.pem -pubkey ./public-key.pem -certhost $AUTH_HOST -sign2 tmplist0)
|
||||
SIG=$(./fteqw64 -privkey ./private-key.pem -pubkey ./public-key.pem -certhost $AUTH_HOST -sign2 tmplist0)
|
||||
head -n 1 tmplist0 > "$OUTPUT"
|
||||
echo "signature \"$AUTH_HOST\" \"$sig\"" >> "$OUTPUT"
|
||||
echo "signature \"$AUTH_HOST\" \"$SIG\"" >> "$OUTPUT"
|
||||
tail -n +2 tmplist0 >> "$OUTPUT"
|
||||
rm tmplist0
|
||||
mv "$OUTPUT" "$PKGLIST"
|
||||
|
|
Loading…
Reference in a new issue