From 13c68478fe7b5e6e5e635b5e514e29d2e6fd45ae Mon Sep 17 00:00:00 2001 From: dbarzin Date: Wed, 6 Jul 2022 18:34:34 +0200 Subject: [PATCH] fix cd --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index c93c1a7..95426c7 100755 --- a/install.sh +++ b/install.sh @@ -66,7 +66,7 @@ apt install -y unrar # for extracting rar files apt install -y libxml2-dev libxslt1-dev antiword unrtf poppler-utils pstotext tesseract-ocr flac ffmpeg lame libmad0 libsox-fmt-mp3 sox libjpeg-dev swig # for textract # set .env -cd ~/pandora +cd /home/$SUDO_USER/pandora echo PANDORA_HOME="`pwd`" >> .env chown $SUDO_USER .env @@ -100,7 +100,7 @@ su - $SUDO_USER -c "cd pandora; for file in pandora/workers/*.sample; do cp -i $ #--------------------- # Pandora-box #--------------------- -cd ~/pandora-box +cd /home/$SUDO_USER/pandora-box # Python libraries su - $SUDO_USER -c "pip install pypandora psutil pyudev"