mirror of
https://github.com/likeablob/macmini.git
synced 2024-06-01 08:41:27 +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
|
echo fbtft_device > /etc/modules-load.d/fbtft.conf
|
||||||
cp config/asound.conf /etc/
|
cp config/asound.conf /etc/
|
||||||
cp config/rc.local /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"
|
sudo -u $SUDO_USER sh -c "cd switcher && npm i --production"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user