From ceb0bdb64ef6b3661ee8b1550589dcbe45b2c011 Mon Sep 17 00:00:00 2001 From: dbarzin Date: Wed, 15 Feb 2023 15:09:37 +0100 Subject: [PATCH] fix /media/box missing --- install.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 94985bb..0806fb6 100755 --- a/install.sh +++ b/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."