Merge pull request #384 from lbryio/ubuntu_install_paths

fix linux packaging to work with new install paths
This commit is contained in:
Jeremy Kauffman 2017-01-06 14:58:29 -05:00 committed by GitHub
commit 3c60b35e2e
3 changed files with 4 additions and 4 deletions

View file

@ -8,4 +8,4 @@ stop on runlevel [016]
respawn
respawn limit 5 20
exec /usr/share/python/lbrynet/bin/lbrynet-daemon
exec /opt/venvs/lbrynet/bin/lbrynet-daemon

View file

@ -10,10 +10,10 @@ Type=Application
MimeType=x-scheme-handler/lbry;
Exec=/usr/share/python/lbrynet/bin/lbry %U
Exec=/usr/bin/lbry %U
Actions=StopDaemon;
[Desktop Action StopDaemon]
Name=Stop Daemon
Exec=/usr/share/python/lbrynet/bin/stop-lbrynet-daemon
Exec=/opt/venvs/lbrynet/bin/stop-lbrynet-daemon

View file

@ -170,7 +170,7 @@ addfile "$PACKAGING_DIR/icons/lbry256.png" usr/share/icons/hicolor/256x256/apps/
addfile "$PACKAGING_DIR/lbry.desktop" usr/share/applications/lbry.desktop
# add lbry executable script
BINPATH=usr/share/python/lbrynet/bin
BINPATH=opt/venvs/lbrynet/bin
addfile "$PACKAGING_DIR/lbry" "$BINPATH/lbry"
# symlink scripts into /usr/bin