/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Teddy Hogeborn
  • Date: 2008-08-12 21:28:42 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080812212842-i96bjpu10iq0wpjd
* Makefile (uninstall-client): Refuse to uninstall if it is in use.

Show diffs side-by-side

added added

removed removed

Lines of Context:
133
133
        -rmdir /etc/mandos
134
134
 
135
135
uninstall-client:
 
136
# Refuse to uninstall client if /etc/crypttab is configured to use it
 
137
        ! grep --regexp='^ *[^ #].*keyscript=/usr/lib/mandos/mandos-client' \
 
138
                /etc/crypttab
136
139
        -rm --force /usr/sbin/mandos-keygen \
137
140
                /usr/lib/mandos/mandos-client \
138
141
                /usr/lib/mandos/plugins.d/password-prompt \