blob: a4d3bde25257c394ebe73e4bc6a3b55f9773344d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/bash
set -e
pushd packages/searxng >/dev/null
pushd searxng >/dev/null
git fetch
date=$(git show -s --date=format:%Y.%m.%d --format=%cd)
commit=$(git show -s --format=%h)
popd >/dev/null
sed -i "s/_date=.*/_date=$date/" PKGBUILD
sed -i "s/_commit=.*/_commit=$commit/" PKGBUILD
popd >/dev/null
echo rebuilding
python packages/local.py searxng
|