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

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

#179

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