From 73bd37a54e470a3665f6c3e17681d94bbf317198 Mon Sep 17 00:00:00 2001 From: dbarzin Date: Fri, 10 Mar 2023 14:49:14 +0100 Subject: [PATCH] fix ini file owner --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 3249ef9..c659152 100755 --- a/install.sh +++ b/install.sh @@ -243,7 +243,7 @@ echo "export PATH=\"\$HOME/.local/bin:{\$PATH}\"" >> /home/$SUDO_USER/.bashrc echo "exec pandora-box/pandora-box.py" >> /home/$SUDO_USER/.bashrc # Copy ini file -cp pandora-box.ini.curses pandora-box.ini +su - $SUDO_USER -c "cp ~/pandora-box/pandora-box.ini.curses ~/pandora-box/pandora-box.ini" # Reboot echo "You may reboot the server."