source: core/trunk/client/pkg/deb/build-pkg.sh

Last change on this file was 389, checked in by smoser, 10 years ago

#179

File size: 402 bytes
RevLine 
[256]1#!/bin/sh
2
[387]3[ -d etc ] && rm -rf etc; mkdir etc
[256]4cp ../../flarmclient.conf etc
5
[257]6[ -d etc/cron.d ] || mkdir etc/cron.d
7cp ../../examples/flarmradar.cron etc/cron.d/flarmradar
8
[389]9[ -d usr ] && rm -rf usr; mkdir -p usr/bin
[256]10cp ../../flarmclient.pl usr/bin/flarmclient
11
12[ `which equivs-build` ] || ( echo "Missing 'equivs-build', install package equivs first" && exit 1 )
[384]13equivs-build flarmradar-client
[256]14
15exit 0
Note: See TracBrowser for help on using the repository browser.