inhome="$HOME/$underhome"
prhome="~/$underhome"
linktarget="$basepath/$ours"
+ chompy="$underhome"
+ while true; do
+ case "$chompy" in
+ *?/?*)
+ linktarget="../$linktarget"
+ chompy="${chompy%/*}"
+ ;;
+ *)
+ break
+ ;;
+ esac
+ done
if [ "$inhome" -ef "$ours" ]; then
good "already symlinked here"
elif [ -h "$inhome" ]; then
if [ -d "$punderhome" ]; then
good "directory exists"
elif ! [ -e "$punderhome" ]; then
- needs install "directory does not exist"
+ needs setup "directory does not exist"
$act mkdir -p "$punderhome"
else
bad "ought to be director but isn't"