mirror of
https://github.com/likeablob/macmini.git
synced 2025-01-13 17:32:57 +00:00
Fix bug in install.sh
This commit is contained in:
parent
6b668ab3be
commit
00f83b02f5
@ -37,7 +37,7 @@ cp config/fbtft.conf /etc/modprobe.d/
|
||||
echo fbtft_device > /etc/modules-load.d/fbtft.conf
|
||||
cp config/asound.conf /etc/
|
||||
cp config/rc.local /etc/
|
||||
sed -i.orig -e "s/NODM_USER=root/NODM_USER=${USER}/" /etc/default/nodm
|
||||
sed -i.orig -e "s/NODM_USER=root/NODM_USER=${SUDO_USER}/" /etc/default/nodm
|
||||
|
||||
sudo -u $SUDO_USER sh -c "cd switcher && npm i --production"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user