2022-03-14 19:45:28 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
run_directory=$(dirname "$0")
|
2022-03-14 19:48:30 +01:00
|
|
|
user=$(whoami)
|
2022-03-14 19:45:28 +01:00
|
|
|
|
|
|
|
echo "Copying bashrc-ffarchiving to extensions directory..."
|
|
|
|
cp $run_directory/templates/bashrc-ffarchiving /home/$user/.bashrc.d/
|
|
|
|
sed -i -e "s:PH_DIRECTORY:$run_directory:g" /home/$user/.bashrc.d/bashrc-ffarchiving
|
|
|
|
|
|
|
|
echo "Finished install. Exiting..."
|
|
|
|
exit 0
|