Merge pull request #6 from likeablob/develop

Fix bug in install.sh
This commit is contained in:
likeablob 2019-10-27 14:21:36 +09:00 committed by GitHub
commit 946bf116e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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"