openframeworks / openframeworks/openFrameworks

archlinux install_dependencies.sh confusing instructions

Open
#6,541 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

Steps to reproduce:

  • run install_dependencies.sh without superuser privileges

Expected result:

  • either error, or the script instructs to use sudo

Actual result:

  • script instructs to use su -, which throws the user out of the directory. The second command in the instruction, which should call the install script from within the same directory does not make sense anymore.
beemo@beemo-pc ~/tween/openframeworks_m/scripts/linux/archlinux (master) $ ./install_dependencies.sh
this script must be run as root

usage:
su -
./install_dependencies.sh
beemo@beemo-pc ~/tween/openframeworks_m/scripts/linux/archlinux (master) $ su -
Password:
[beemo-pc ~]# pwd
/root
[beemo-pc ~]# ./install_dependencies.sh
-bash: ./install_dependencies.sh: No such file or directory
[beemo-pc ~]#

System details:
openFrameworks v0.11.0
5.4.18-1-MANJARO

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect scripts/linux/archlinux/install_dependencies.sh and reproduce the behavior by running it without superuser privileges. Review the displayed su - and follow-up command, then verify that the revised instructions let a user run the dependency installer from the intended directory.

Written by the indexing model from the issue text.

Assessment

Tech stack
arch-linux, linux, shell
Domain
tooling
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.