Skip to content

Commit

Permalink
separated installer with cp, ln + unistall wrapPos
Browse files Browse the repository at this point in the history
installLn.sh is the old install.sh
  • Loading branch information
Stivvo committed Jul 11, 2020
1 parent edae815 commit ce05fcb
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
chmod +x "${PWD}/../wrappers/wrapWayPclient.sh"
chmod +x "${PWD}/../wrappers/wrapWayPserver.sh"
chmod +x "${PWD}/../wrappers/wrapSetPos.sh"
sudo ln -sf "${PWD}/../../clientBuild/wayPreviewClient" /usr/bin/wayPreviewClient
sudo ln -sf "${PWD}/../../serverBuild/wayPreviewServer" /usr/bin/wayPreviewServer
sudo ln -sf "${PWD}/../wrappers/wrapWayPclient.sh" /usr/bin/wrapWayPclient.sh
sudo ln -sf "${PWD}/../wrappers/wrapWayPserver.sh" /usr/bin/wrapWayPserver.sh
sudo ln -sf "${PWD}/../wrappers/wrapSetPos.sh" /usr/bin/wrapSetPos.sh
sudo cp "${PWD}/../../clientBuild/wayPreviewClient" /usr/bin/wayPreviewClient
sudo cp "${PWD}/../../serverBuild/wayPreviewServer" /usr/bin/wayPreviewServer
sudo cp "${PWD}/../wrappers/wrapWayPclient.sh" /usr/bin/wrapWayPclient.sh
sudo cp "${PWD}/../wrappers/wrapWayPserver.sh" /usr/bin/wrapWayPserver.sh
sudo cp "${PWD}/../wrappers/wrapSetPos.sh" /usr/bin/wrapSetPos.sh
10 changes: 10 additions & 0 deletions scripts/lnInstall.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

chmod +x "${PWD}/../wrappers/wrapWayPclient.sh"
chmod +x "${PWD}/../wrappers/wrapWayPserver.sh"
chmod +x "${PWD}/../wrappers/wrapSetPos.sh"
sudo ln -sf "${PWD}/../../clientBuild/wayPreviewClient" /usr/bin/wayPreviewClient
sudo ln -sf "${PWD}/../../serverBuild/wayPreviewServer" /usr/bin/wayPreviewServer
sudo ln -sf "${PWD}/../wrappers/wrapWayPclient.sh" /usr/bin/wrapWayPclient.sh
sudo ln -sf "${PWD}/../wrappers/wrapWayPserver.sh" /usr/bin/wrapWayPserver.sh
sudo ln -sf "${PWD}/../wrappers/wrapSetPos.sh" /usr/bin/wrapSetPos.sh
1 change: 1 addition & 0 deletions scripts/unistall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ sudo rm /usr/bin/wayPreviewClient
sudo rm /usr/bin/wayPreviewServer
sudo rm /usr/bin/wrapWayPclient.sh
sudo rm /usr/bin/wrapWayPserver.sh
sudo rm /usr/bin/wrapSetPos.sh

0 comments on commit ce05fcb

Please sign in to comment.