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

hassbian-config: adds check-permission to developer-test-pr function #205

Merged
merged 1 commit into from
Oct 23, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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