mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-19 05:19:40 +02:00
fix /media/box missing
This commit is contained in:
parent
a98623c373
commit
ceb0bdb64e
1 changed files with 10 additions and 1 deletions
11
install.sh
11
install.sh
|
@ -128,6 +128,15 @@ cd /home/$SUDO_USER/pandora-box
|
|||
# Python libraries
|
||||
su - $SUDO_USER -c "pip install pypandora psutil pyudev"
|
||||
|
||||
# create /media/box folder
|
||||
if [ -d "/media" ];
|
||||
then
|
||||
echo "Create /media/box folder."
|
||||
mkdir /media/box
|
||||
else
|
||||
echo "No /media/box folder needed."
|
||||
fi
|
||||
|
||||
# Quarantine folder
|
||||
mkdir -p /var/quarantine
|
||||
chown $SUDO_USER /var/quarantine
|
||||
|
@ -172,4 +181,4 @@ echo "Type=idle" >> /etc/systemd/system/getty@tty1.service.d/override.conf
|
|||
cp pandora-box.ini.curses pandora-dox.ini
|
||||
|
||||
# Reboot
|
||||
echo "You may reboot the server"
|
||||
echo "You may reboot the server."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue