Yetangitu / books

Library Genesis (libgen) CLI/TUI/GUI client (mirror from private repo)
GNU General Public License v3.0
221 stars 5 forks source link

Installation issue with symlinks not getting resolved for original bash scripts #2

Open lamyergeier opened 2 years ago

lamyergeier commented 2 years ago

From Readme:

Download this repository (or a tarball) and copy the four scripts - books, update_libgen, refresh_libgen and tm (only needed when using the transmission-daemon torrent client) - into a directory which is somewhere on your $PATH ($HOME/bin would be a good spot).

I downloaded the repository somewhere else and I created symlinks to the four scripts - books, update_libgen, refresh_libgen and tm in the folder /home/nikhil/opt/bin, which is in PATH, but I get the following error:

$ refresh_libgen
/home/nikhil/opt/bin/books_functions not found
/home/nikhil/opt/bin/refresh_libgen: line 1: trap_clean: command not found

Possible solution

If a symlink of these scripts are created it should resolve to original location of the script.

Yetangitu commented 2 years ago

I'll look into this and some other problems shortly...