user@machine:~$ cat Makefile
@grep "application/x-abcd" /etc/mime.types >> /dev/null
if [ "$?" -eq 1 ]
sudo echo "application/x-abcd abcd" >> /etc/mime.types;
make: *** [install] Error 1
i am running make as normal user. I want to append the line
only if it is not already existing.
can some one please help me in getting rid of that error ?