Re: gem2deb shouldn't rewrite shebangs of shell scripts

2011-09-24 Thread Antonio Terceiro
Hello Dmitry, Dmitry Borodaenko escreveu isso aĆ­: > gem2deb 0.2.9 happily rewrote the shebang line of a shell script in > /usr/bin of my package. Attached patch makes it only do that if ruby is > mentioned anywhere in the first line of the script: if it's not, and > there is a shebang in the line

gem2deb shouldn't rewrite shebangs of shell scripts

2011-09-20 Thread Dmitry Borodaenko
gem2deb 0.2.9 happily rewrote the shebang line of a shell script in /usr/bin of my package. Attached patch makes it only do that if ruby is mentioned anywhere in the first line of the script: if it's not, and there is a shebang in the line to begin with, I think it's safe to assume it's not a Ruby