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

Fix: add psmisc as dependency #2133

Merged
merged 1 commit into from
Apr 20, 2018
Merged

Fix: add psmisc as dependency #2133

merged 1 commit into from
Apr 20, 2018

Conversation

mbologna
Copy link
Contributor

@mbologna mbologna commented Apr 19, 2018

By submitting this pull request, I confirm the following:
please fill any appropriate checkboxes, e.g: [X]

  • I have read and understood the contributors guide, as well as this entire template.
  • I have made only one major change in my proposed changes.
  • I have commented my proposed changes within the code.
  • I have tested my proposed changes, and have included unit tests where possible.
  • I am willing to help maintain this change if there are issues with it later.
  • I give this submission freely and claim no ownership.
  • It is compatible with the EUPL 1.2 license
  • I have squashed any insignificant commits. (git rebase)

Please make sure you Sign Off all commits. Pi-hole enforces the DCO.


What does this PR aim to accomplish?:

Debian 9.4 does not install psmisc by default and the following error will happen during installation:

  [✗] /usr/local/bin/pihole: line 353: killall: command not found
/usr/local/bin/pihole: line 364: killall: command not found

How does this PR accomplish the above?:

This patch adds psmisc (that contains killall) as dependency


  • You must follow the template instructions. Failure to do so will result in your pull request being closed.
  • Please respect that Pi-hole is developed by volunteers, who can only reply in their spare time.

@mbologna mbologna changed the base branch from master to development April 19, 2018 21:32
@@ -163,7 +163,13 @@ if command -v apt-get &> /dev/null; then
# These programs are stored in an array so they can be looped through later
INSTALLER_DEPS=(apt-utils dialog debconf dhcpcd5 git ${iproute_pkg} whiptail)
# Pi-hole itself has several dependencies that also need to be installed
<<<<<<< HEAD

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't parse this here string.
The mentioned parser error was in this simple command.
Fix any mentioned problems and try again.

Debian 9.4 does not install `psmisc` by default and the following error will happen during installation:

```
  [✗] /usr/local/bin/pihole: line 353: killall: command not found
/usr/local/bin/pihole: line 364: killall: command not found
```

This patch adds `psmisc` (that contains `killall`) as dependency

Signed-off-by: Michele Bologna <michele.bologna@gmail.com>
@dschaper
Copy link
Member

Thanks for the contribution.

@dschaper dschaper requested a review from a team April 19, 2018 21:43
@dschaper dschaper added PR: Code Review Required Open Pull Request, needs code reviewd PR: Approval Required Open Pull Request, needs approval labels Apr 19, 2018
Copy link
Member

@bcambl bcambl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already included in Fedora deps. LGTM

@dschaper dschaper added PR: Approved Open Pull Request, Approved by required number of reviewers pr: ready for merge and removed PR: Approval Required Open Pull Request, needs approval PR: Code Review Required Open Pull Request, needs code reviewd labels Apr 20, 2018
Copy link
Contributor

@AzureMarker AzureMarker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AzureMarker AzureMarker merged commit 0833d0d into pi-hole:development Apr 20, 2018
@dschaper dschaper removed PR: Approved Open Pull Request, Approved by required number of reviewers pr: ready for merge labels May 3, 2018
@jacobsalmela
Copy link
Contributor

@mbologna please contact me directly for a special thank you for contributing to our project.

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

Successfully merging this pull request may close these issues.

6 participants