1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
override_dh_auto_clean:
rm -f man/*.?
override_dh_installinit:
dh_installinit --no-stop-on-upgrade --update-rcd-params="defaults 35 65"
override_dh_install:
dh_install
mkdir -p debian/whereami/etc/apm/scripts.d debian/whereami/etc/dhcp/dhclient-exit-hooks.d debian/whereami/etc/network/if-pre-up.d debian/whereami/usr/share/whereami
install -m755 bin/whereami.apm debian/whereami/etc/apm/scripts.d/whereami
cp debian/whereami.dhclient3-exit-hook debian/whereami/etc/dhcp/dhclient-exit-hooks.d/whereami
cp debian/whereami.network-hook debian/whereami/etc/network/if-pre-up.d/whereami
cp -r scripts debian/whereami/usr/share/whereami/actions
cd debian/whereami/usr/share/whereami && chmod 755 actions/tests/* && mv actions/tests .
cd debian/whereami/usr/share/whereami && ln -s actions/* .
%:
dh $@
|