blob: b8aa9fbbd28649f83dcc7229f2e23519d78852b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/bash
# This script is in the public domain. To be
# invoked by "make dl-spa".
if ! test -d .git; then
echo Make sure that CWD is the repository top-level dir.
exit 1
fi
if ls debian/usr/share/libeufin/demobank-ui/index.{html,css,js} &> /dev/null; then
echo SPA download already, run 'make clean-spa' to remove it.
exit 0
fi
if ! wget --version &> /dev/null; then
echo wget not found, aborting.
exit 1
fi
cp contrib/wallet-core/demobank/* debian/usr/share/libeufin/demobank-ui/
|