Fix install script
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
e3dcb1da3d
commit
bca70e0e01
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user