~ubuntu-branches/ubuntu/natty/dpsyco/natty

« back to all changes in this revision

Viewing changes to base/src/update-dpsyco

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2002-04-08 20:41:30 UTC
  • Revision ID: james.westby@ubuntu.com-20020408204130-aumsesgfm39nwyb0
Tags: 1.0.10
* Added documentation from Machael Boman
  <michael.boman@securecirt.com>, closes: #128120.
* Fixed purge problem, moved deconfiguring to prerm from postinst,
  closes: #141732.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# DocumentId:   $Id: update-dpsyco,v 1.11 2001/09/03 14:05:53 ola Exp $
 
3
# Author:       $Author: ola $
 
4
# Date:         $Date: 2001/09/03 14:05:53 $
 
5
# Summary:
 
6
#       Updates the dpsyco base.
 
7
 
 
8
echo "Updating Debian Packages of System Configurations."
 
9
export PATH=$PATH:/sbin:/usr/sbin
 
10
 
 
11
find /etc/dpsyco/cmd | sort | {
 
12
    while read TMPCMD ; do
 
13
        if [ -x "$TMPCMD" -a ! -d "$TMPCMD" ] ; then
 
14
            $TMPCMD
 
15
        fi
 
16
    done
 
17
}