Skip to content
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.

Commit

Permalink
Merge pull request #205 from ludeeus/missing-sudo-check
Browse files Browse the repository at this point in the history
hassbian-config: adds check-permission to developer-test-pr function
  • Loading branch information
Landrash committed Oct 23, 2018
2 parents c13bb38 + af8ed10 commit 5df3a79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/usr/local/bin/hassbian-config
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ function check-permission {

function developer-test-pr { # This function fetches a active PR and build a installation package from that and install it on the system.
# This should only be used by maintainers to test PR's!
check-permission
readonly PRNUMBER="$1"
readonly INSTALLDIR="/tmp/hassbian_config_install_${PRNUMBER}"
if [[ -z "$PRNUMBER" ]]; then
Expand Down

0 comments on commit 5df3a79

Please sign in to comment.