-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Manvendra Bhangui wrote:
> if [ " $(DESTDIR)" = " " ] ; then \
> if test `...@idcommand@` != "0" ; then \
> echo "you are not root"; \
> exit 1; \
> fi ; \
This was basically what I was planning on doing. If they aren't root,
and they haven't set the path to something they can potentially write to,
it won't chmod or mkdir.
That would cover the bases, right?
- --
/*
Matt Brookings <[email protected]> GnuPG Key D9414F70
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAknTbzIACgkQ6QgvSNlBT3DqxgCgr8dOEue7sjMAlOyAWQf0gikD
tIUAn1fSndYRNPja6fOYFdb7E2hVmA2p
=Qj5O
-----END PGP SIGNATURE-----