diff --git a/INSTALL.md b/INSTALL.md index 9f57644..34c2d47 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -15,11 +15,9 @@ during the installation, select (x) Ubuntu Server (minimized) Choose to "install OpenSSH server" -Create an intial user called *pandora* - That's all, no other packages needed -After reboot, login with the user *pandora* created during the install and type : +After reboot, login and type : sudo apt install -y git git clone https://github.com/dbarzin/pandora-box diff --git a/install.sh b/install.sh index ccb5a0b..efaf9fe 100755 --- a/install.sh +++ b/install.sh @@ -168,8 +168,8 @@ apt --fix-broken install -y apt install -y fim pmount psmisc vim # Python libraries -su - $SUDO_USER -c "python -m venv /home/$SUDO_USER/python" -su - $SUDO_USER -c "python/bin/pip install pypandora psutil pyudev" +su - $SUDO_USER -c "python -m venv /home/$SUDO_USER/.local" +su - $SUDO_USER -c "./.local/bin/pip install pypandora psutil pyudev" # create /media/box folder if [ ! -d "/media/box" ]; @@ -244,7 +244,7 @@ echo "ExecStart=-/sbin/agetty --autologin pandora --noclear %I $TERM" >> /etc/sy # echo "ExecStart=-su - pandora -c ./pandora-box/pandora-box.py" >> /etc/systemd/system/getty@tty1.service.d/override.conf # Start pandora from bashrc -echo "PATH=\"\$HOME/python/bin:\$PATH\"" >> /home/$SUDO_USER/.profile +# echo "PATH=\"\$HOME/python/bin:\$PATH\"" >> /home/$SUDO_USER/.profile # Copy ini file su - $SUDO_USER -c "cp ~/pandora-box/pandora-box.ini.curses ~/pandora-box/pandora-box.ini"