etc/install.sh

13 lines
205 B
Bash
Raw Permalink Normal View History

2024-07-11 01:23:39 +03:00
#!/bin/sh
mkdir -p $HOME/.config
rpath="$(dirname `readlink -f $0`)"
for i in * ; do
from="$rpath/$i"
to="$HOME/.config/`basename $i`"
2024-07-11 01:33:08 +03:00
echo "'$from'" "'$to'"
rm -f "$to"
2024-07-11 01:23:39 +03:00
ln -s -f "$from" "$to"
done