Skip to content

Commit

Permalink
Merge pull request #251 from nbartos/usrbin
Browse files Browse the repository at this point in the history
Unpackaged binaries shouldn't go in /usr/bin
  • Loading branch information
neelimamukiri authored Sep 22, 2017
2 parents 6224001 + 079b2c4 commit 59ae563
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions install/k8s/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,11 @@ echo "Applying contiv installation"
grep -q -F "netmaster" /etc/hosts || echo "$netmaster netmaster" >>/etc/hosts
echo "To customize the installation press Ctrl+C and edit $contiv_yaml."
sleep 5
chmod +x ./netctl

# Previous location was in /usr/bin/, so delete it in the case of an upgrade.
rm -f /usr/bin/netctl
cp ./netctl /usr/bin/
install -m 755 -o root -g root ./netctl /usr/local/bin/netctl

# Install Contiv
$kubectl apply -f $contiv_yaml

Expand Down

0 comments on commit 59ae563

Please sign in to comment.