blob: c44e674ef18076fee05e92c3de08db452b5fd921 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
export LD_LIBRARY_PATH=/mnt/serial-barcode-scanner/libcairobarcode
dbus-daemon --system
dpkg-buildpackage -b -nc && \
apt install -y --no-install-recommends ./../shopsystem_*_amd64.deb && \
cp /root/config.ini /etc/shopsystem/config.ini
if [[ $? != 0 ]]; then
echo "Build failed."
exit 1
fi
if [[ "$1" = 'tmux' ]]; then
tmux
fi
|