mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-19 13:29:42 +02:00
Merge branch 'main' of github.com:dbarzin/pandora-box
This commit is contained in:
commit
967b22e16d
2 changed files with 3 additions and 5 deletions
|
@ -4,7 +4,7 @@ Pandora-BOX
|
||||||
Host
|
Host
|
||||||
----
|
----
|
||||||
|
|
||||||
CORE i5 - 4G RAM - 30G disk
|
CORE i5 - 8G RAM - 30G disk
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -168,9 +168,8 @@ apt --fix-broken install -y
|
||||||
apt install -y fim pmount psmisc vim
|
apt install -y fim pmount psmisc vim
|
||||||
|
|
||||||
# Python libraries
|
# Python libraries
|
||||||
su - $SUDO_USER -c "python3 -m venv /home/$SUDO_USER/python"
|
su - $SUDO_USER -c "python -m venv /home/$SUDO_USER/python"
|
||||||
su - $SUDO_USER -c "python3/bin/pip install pypandora psutil pyudev"
|
su - $SUDO_USER -c "python/bin/pip install pypandora psutil pyudev"
|
||||||
|
|
||||||
|
|
||||||
# create /media/box folder
|
# create /media/box folder
|
||||||
if [ ! -d "/media/box" ];
|
if [ ! -d "/media/box" ];
|
||||||
|
@ -246,7 +245,6 @@ echo "ExecStart=-/sbin/agetty --autologin pandora --noclear %I $TERM" >> /etc/sy
|
||||||
|
|
||||||
# Start pandora from bashrc
|
# Start pandora from bashrc
|
||||||
echo "PATH=\"\$HOME/python/bin:\$PATH\"" >> /home/$SUDO_USER/.profile
|
echo "PATH=\"\$HOME/python/bin:\$PATH\"" >> /home/$SUDO_USER/.profile
|
||||||
#echo "exec python3 pandora-box/pandora-box.py" >> /home/$SUDO_USER/.bashrc
|
|
||||||
|
|
||||||
# Copy ini file
|
# Copy ini file
|
||||||
su - $SUDO_USER -c "cp ~/pandora-box/pandora-box.ini.curses ~/pandora-box/pandora-box.ini"
|
su - $SUDO_USER -c "cp ~/pandora-box/pandora-box.ini.curses ~/pandora-box/pandora-box.ini"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue