#!/bin/sh if test ! $(pwd) = "/"{ echo '#!/bin/sh' > ./usr/local/bin/defaulthtmleditor echo 'exec kompozer "$@"' >> ./usr/local/bin/defaulthtmleditor chmod 755 ./usr/local/bin/defaulthtmleditor }