Armin K. schrieb: > if [ $EUID = 0 ]; then make install > elif [ -x /usr/bin/sudo ]; then sudo make install > else su -c "make install" > fi > > Add it by default instead of "AS_ROOT make install", but explain how > should it be used and what it really does. > > What do you say?
some packages require additional parameters for install or going the DESTDIR way... i'd prefer the function proposed by bruce which allows any command with any parameters. tobias -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page