Update install script with new good practices (run_directory)

This commit is contained in:
Alexandre CATTEAU 2022-08-28 12:54:00 +02:00
parent 7bb0023b2a
commit 9db48d0991

View File

@ -15,7 +15,7 @@ fi
echo "Copying bashrc-ffarchiving to extensions directory..." echo "Copying bashrc-ffarchiving to extensions directory..."
cp $run_directory/templates/bashrc-ffarchiving /home/$user/.bashrc.d/ cp $run_directory/templates/bashrc-ffarchiving /home/$user/.bashrc.d/
sed -i -e "s:PH_DIRECTORY:$(pwd):g" /home/$user/.bashrc.d/bashrc-ffarchiving sed -i -e "s:PH_DIRECTORY:$run_directory:g" /home/$user/.bashrc.d/bashrc-ffarchiving
echo "Finished install. Exiting..." echo "Finished install. Exiting..."
exit 0 exit 0