fix linux packaging to work with new install paths
This commit is contained in:
parent
30af8a0e20
commit
14c835b41e
3 changed files with 4 additions and 4 deletions
|
@ -8,4 +8,4 @@ stop on runlevel [016]
|
||||||
respawn
|
respawn
|
||||||
respawn limit 5 20
|
respawn limit 5 20
|
||||||
|
|
||||||
exec /usr/share/python/lbrynet/bin/lbrynet-daemon
|
exec /opt/venvs/lbrynet/bin/lbrynet-daemon
|
|
@ -10,10 +10,10 @@ Type=Application
|
||||||
|
|
||||||
MimeType=x-scheme-handler/lbry;
|
MimeType=x-scheme-handler/lbry;
|
||||||
|
|
||||||
Exec=/usr/share/python/lbrynet/bin/lbry %U
|
Exec=/usr/bin/lbry %U
|
||||||
|
|
||||||
Actions=StopDaemon;
|
Actions=StopDaemon;
|
||||||
|
|
||||||
[Desktop Action StopDaemon]
|
[Desktop Action StopDaemon]
|
||||||
Name=Stop Daemon
|
Name=Stop Daemon
|
||||||
Exec=/usr/share/python/lbrynet/bin/stop-lbrynet-daemon
|
Exec=/opt/venvs/lbrynet/bin/stop-lbrynet-daemon
|
||||||
|
|
|
@ -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
|
addfile "$PACKAGING_DIR/lbry.desktop" usr/share/applications/lbry.desktop
|
||||||
|
|
||||||
# add lbry executable script
|
# add lbry executable script
|
||||||
BINPATH=usr/share/python/lbrynet/bin
|
BINPATH=opt/venvs/lbrynet/bin
|
||||||
addfile "$PACKAGING_DIR/lbry" "$BINPATH/lbry"
|
addfile "$PACKAGING_DIR/lbry" "$BINPATH/lbry"
|
||||||
|
|
||||||
# symlink scripts into /usr/bin
|
# symlink scripts into /usr/bin
|
||||||
|
|
Loading…
Reference in a new issue