summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorSoren Hansen <soren@canonical.com>2009-08-10 14:04:07 +0200
committerSoren Hansen <soren@canonical.com>2009-08-10 14:04:07 +0200
commitd7efdba7a9ca34c1df4b7291daeacce9d190e861 (patch)
treee56375696bbabca658aadd749757be6ca07100e2 /debian/rules
parente1d74134dfb6cc36a434042df04acc660d84c724 (diff)
downloadvyos-cloud-init-d7efdba7a9ca34c1df4b7291daeacce9d190e861.tar.gz
vyos-cloud-init-d7efdba7a9ca34c1df4b7291daeacce9d190e861.zip
Remove .py extension from scripts installed in /usr/bin
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index a96b88fa..e7f5c1be 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,4 +7,5 @@ include /usr/share/cdbs/1/class/python-distutils.mk
DEB_UPDATE_RCD_PARAMS:= start 15 2 3 4 5 . stop 20 1 .
binary-install/ec2-init::
+ for x in $(DEB_DESTDIR)/usr/bin/*.py; do mv "$$x" "$${x%.py}"; done
dh_installinit -p ec2-init --name rightscale-init -- defaults 99 09