#!/bin/bash# Find scripts and create symlinks
binfiles=$(ls-1 $(pwd)/bin)for b in$binfilesdoif[ !-L$AK_BINDIR/$b] ;thenln-s $(pwd)/bin/$b $AK_BINDIR/$b;fidonefind$AK_BINDIR-type l | whileread link
doif[ !-f$link]thenecho"Non working link: $(basename$link) removing..."rm$linkfidone