fix(crowsnest): override installers BASE_USER to current user (#317)

This commit is contained in:
Piotr Banasik
2023-03-19 03:50:06 -07:00
committed by GitHub
parent 858301aa9a
commit 7989cec8d4

View File

@@ -105,7 +105,7 @@ function install_crowsnest(){
pushd "${HOME}/crowsnest" &> /dev/null || exit 1
title_msg "Installer will prompt you for sudo password!"
status_msg "Launching crowsnest installer ..."
if ! sudo make install; then
if ! sudo make install BASE_USER=$USER; then
error_msg "Something went wrong! Please try again..."
exit 1
fi