Fix install script

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
Marcus Noble 2021-12-24 10:29:45 +00:00
parent e3dcb1da3d
commit bca70e0e01
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78
1 changed files with 3 additions and 3 deletions

View File

@ -89,7 +89,7 @@ case "${OSTYPE}" in
done done
FILES=$(find ./os-specific/darwin/home -maxdepth 1 -mindepth 1 | tr '\n' ' ') FILES=$(/usr/bin/find ./os-specific/darwin/home -maxdepth 1 -mindepth 1 | tr '\n' ' ')
for file in $FILES for file in $FILES
do do
f=$(fulllink "${file}") f=$(fulllink "${file}")
@ -111,12 +111,12 @@ case "${OSTYPE}" in
esac esac
echo "🔵 Adding configuration" echo "🔵 Adding configuration"
FILES=$(find ./home -maxdepth 1 -mindepth 1 | tr '\n' ' ') FILES=$(/usr/bin/find ./home -maxdepth 1 -mindepth 1 | tr '\n' ' ')
for file in $FILES for file in $FILES
do do
f=$(fulllink "${file}") f=$(fulllink "${file}")
dst="${HOME}/$(basename "./home/${file}")" dst="${HOME}/$(basename "./home/${file}")"
printf "Linking ${f}=>${dst}" printf "Linking ${f} => ${dst}"
ln -sfn ${f} ${dst} ln -sfn ${f} ${dst}
printf " ✅\n" printf " ✅\n"
done done