1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-19 13:29:42 +02:00

fix test on create /media/box folder

This commit is contained in:
Didier Barzin 2023-11-16 15:04:22 +01:00 committed by GitHub
parent 3eb06099c2
commit e86dfb35f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -176,7 +176,7 @@ cd /home/$SUDO_USER/pandora-box
su - $SUDO_USER -c "pip install pypandora psutil pyudev" su - $SUDO_USER -c "pip install pypandora psutil pyudev"
# create /media/box folder # create /media/box folder
if [ -d "/media/box" ]; if [ ! -d "/media/box" ];
then then
echo "Create /media/box folder." echo "Create /media/box folder."
mkdir /media/box mkdir /media/box