Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directory specifications in systemd install script #113

Open
ThSGM opened this issue Dec 29, 2020 · 0 comments
Open

Directory specifications in systemd install script #113

ThSGM opened this issue Dec 29, 2020 · 0 comments

Comments

@ThSGM
Copy link

ThSGM commented Dec 29, 2020

This is not an outstanding issue for me, but I log it here for other beginners.

I had issues running the scripts/systemd-install.sh file.

There were two errors. First, the directory location of this line:

DECB_PATH=whereis dmenu_extended_cache_build | sed 's/dmenu_extended_cache_build: ?//'`

did not seem to work as it led to this line:

echo "dmenu_extended_cache_build not found at the default location."

However, running whereis dmenu_extended_cache_build separately did seem to yield a correct path. I think this had something to do with the fact that the path between my bash shell and zsh shell were not the same (I ran it via sudo bash systemd-install.sh but within a zsh shell).

However, I was able to put in the correct path when prompted.

The other issue for me was that I needed to correct this line:

cp -v ../systemd/update-dmenu-extended-db.timer $SCRIPT_PATH

so that it copied the correct script. I think for users that are cd'ed to the scripts folder (where the sh file resides) the ../ path specification is necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant