openframeworks / openframeworks/openFrameworks
archlinux install_dependencies.sh confusing instructions
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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