[Slackbuilds-users] Fix for the keybase symlink in /usr/bin/

Ben Mendis dragonwisard at gmail.com
Tue Jul 7 04:37:07 UTC 2015

Hello Navigium et al.,

The SlackBuild has the symbolic link pointing to the build tree, not the 
install path. When I cleared my /tmp it broke the link. I've attached a 
patch to solve the problem.

Best regards,
Ben the Pyrate

-------------- next part --------------
diff --git keybase-client.SlackBuild keybase-client.SlackBuild
index 4bf64dede2ad5c09ce3977c63cf1ea84e0208a62..cd63ec32192c91b70d19e71348c3c2fce48f51c6 100644
--- keybase-client.SlackBuild
+++ keybase-client.SlackBuild
@@ -75,7 +75,7 @@ mv bin json lib node_modules $PKG/usr/share/$PRGNAM
 mv package.json $PKG/usr/share/$PRGNAM
 # create a link to have a executable
 mkdir -p $PKG/usr/bin/
-ln -s $PKG/usr/share/$PRGNAM/bin/main.js $PKG/usr/bin/keybase
+ln -s ../share/$PRGNAM/bin/main.js $PKG/usr/bin/keybase
 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20150707/17ec9636/attachment-0001.asc>

More information about the SlackBuilds-users mailing list