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

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

make deb packaging more resilient

File size: 407 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/bin ] && 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.