12 lines
166 B
Bash
12 lines
166 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
if [ -d "~/bin" ]; then
|
||
|
echo "detected existing ~/bin"
|
||
|
echo "please backup, remove, and try again"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
mkdir ~/bin
|
||
|
|
||
|
stow -t ~/bin bin
|