pinstall.sh 239 B

1234567891011
  1. #!/bin/sh
  2. #post-install script.
  3. if [ "`pwd`" != "/" ];then
  4. echo '#!/bin/sh' > ./usr/local/bin/defaultwordprocessor
  5. echo 'exec abiword "$@"' >> ./usr/local/bin/defaultwordprocessor
  6. chmod 755 ./usr/local/bin/defaultwordprocessor
  7. fi