This one time, at band camp, brian m. carlson said:
> Obviously, the rm line should check first to see whether sites-enabled
> exists, and if not, do nothing.

It's not the rm line, it's the rmdir line, and I don't see how it can
fail:

raddb/Makefile:
clean:
        rm -f sites-enabled/inner-tunnel sites-enabled/default
        @rmdir sites-enabled

The -f will make rm succeed even if the file doesn't exist:

sg...@samosa:~$ ls
sg...@samosa:~$ rm -f test/a test/b
sg...@samosa:~$ echo $?
0
sg...@samosa:~$

And the rmdir has an 'ignore errors' marker.  Can you maybe do some 
debugging to figure out what is really going wrong?

Cheers,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sg...@debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

Reply via email to