Skip to content

Commit

Permalink
Use %{_bindir} to install bin command in rpm
Browse files Browse the repository at this point in the history
Fixes #11431
  • Loading branch information
Tyriar committed Oct 23, 2016
1 parent 6085bd8 commit 7492ba5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions resources/linux/rpm/code.spec.template
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ if [ "@@NAME@@" = "code" ]; then
fi

# Symlink bin command to /usr/bin
sudo rm -f /usr/bin/@@NAME@@
sudo ln -s /usr/share/@@NAME@@/bin/@@NAME@@ /usr/bin/@@NAME@@
ln -sf /usr/share/@@NAME@@/bin/@@NAME@@ %{_bindir}/@@NAME@@

# Register yum repository
# TODO: #229: Enable once the yum repository is signed
Expand Down

0 comments on commit 7492ba5

Please sign in to comment.