pinstall.sh 291 B

1234567891011121314
  1. #!/bin/sh
  2. #post-install script.
  3. if [ "`pwd`" != "/" ];then
  4. echo '#!/bin/sh' > ./usr/local/bin/defaultbrowser
  5. echo 'exec midori "$@"' >> ./usr/local/bin/defaultbrowser
  6. chmod 755 ./usr/local/bin/defaultbrowser
  7. echo "...ok, setup for Midori."
  8. echo -n "midori" > /tmp/rightbrwsr.txt
  9. fi