/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 initramfs-tools-hook

  • Committer: Teddy Hogeborn
  • Date: 2009-05-24 23:28:04 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090524232804-4rl7az1p733d34wu
* debian/mandos.postinst (configure): Don't look for user and group
                                      with the old name if upgrading
                                      from a new enough version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
    case "$base" in
91
91
        *~|.*|\#*\#|*.dpkg-old|*.dpkg-bak|*.dpkg-new|*.dpkg-divert)
92
92
            : ;;
93
 
        "*") echo "W: Mandos client plugin directory is empty." >&2 ;;
 
93
        */"*")
 
94
            echo "W: Mandos client plugin directory is empty." >&2 ;;
94
95
        *) copy_exec "$file" "${PLUGINDIR}" ;;
95
96
    esac
96
97
done
101
102
    case "$base" in
102
103
        *~|.*|\#*\#|*.dpkg-old|*.dpkg-bak|*.dpkg-new|*.dpkg-divert)
103
104
            : ;;
104
 
        "*") : ;;
 
105
        */"*") : ;;
105
106
        *) copy_exec "$file" "${PLUGINDIR}" ;;
106
107
    esac
107
108
done
114
115
fi
115
116
 
116
117
# Config files
117
 
for file in /etc/mandos/plugin-runner.conf; do
 
118
for file in /etc/mandos/*; do
118
119
    if [ -d "$file" ]; then
119
120
        continue
120
121
    fi