diff --git a/kubernetes/helm/debian/deb_folder/helm.install b/kubernetes/helm/debian/deb_folder/helm.install index 862f7638f..39a38996d 100644 --- a/kubernetes/helm/debian/deb_folder/helm.install +++ b/kubernetes/helm/debian/deb_folder/helm.install @@ -1,4 +1,4 @@ etc/sudoers.d/helm usr/sbin/helm -usr/sbin/helm-upload -usr/sbin/helmv2-cli +usr/local/sbin/helm-upload +usr/local/sbin/helmv2-cli diff --git a/kubernetes/helm/debian/deb_folder/rules b/kubernetes/helm/debian/deb_folder/rules index 6dec58ad1..8b1e641f3 100755 --- a/kubernetes/helm/debian/deb_folder/rules +++ b/kubernetes/helm/debian/deb_folder/rules @@ -18,8 +18,12 @@ override_dh_auto_build: override_dh_auto_install: install -d -m 755 $(SBINDIR) + install -d -m 755 $(ROOT)/usr/local/sbin install -p -D -m 755 $(HELM_EXECUTABLE) $(SBINDIR) - install -p -D -m 755 helm-upload $(SBINDIR) - install -p -D -m 755 helmv2-cli.sh $(SBINDIR)/helmv2-cli + install -p -D -m 755 helm-upload $(ROOT)/usr/local/sbin + install -p -D -m 755 helmv2-cli.sh $(ROOT)/usr/local/sbin/helmv2-cli install -d -m 755 $(SUDOERDIR) install -p -D -m 440 helm.sudo $(SUDOERDIR)/helm + +override_dh_usrlocal: + # Do Nothing