pinstall.sh 210 B

12345678910
  1. #!/bin/sh
  2. if [ ! "`pwd`" = "/" ];then
  3. echo '#!/bin/sh' > ./usr/local/bin/defaulthtmleditor
  4. echo 'exec kompozer "$@"' >> ./usr/local/bin/defaulthtmleditor
  5. chmod 755 ./usr/local/bin/defaulthtmleditor
  6. fi