~ubuntu-branches/ubuntu/lucid/mime-support/lucid-security

« back to all changes in this revision

Viewing changes to debian-view

  • Committer: Bazaar Package Importer
  • Author(s): Brian White
  • Date: 2004-07-16 08:28:42 UTC
  • Revision ID: james.westby@ubuntu.com-20040716082842-lf2ltd5yt06pp8cy
Tags: 3.28-1
added more mime types (closes: #259706)

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
    if [ `id --user` -ne 0 ]
20
20
        then
21
21
        echo    "Installation of Debian packages needs to be done as root."
22
 
        echo -n "Enter command used to become root (eg. "sudo"): "
 
22
        echo -n "Enter command used to become root (default=sudo): "
23
23
        read sudo
 
24
        if [ -z "$sudo" ]; then
 
25
            sudo="sudo"
 
26
        fi
24
27
        dpkg="$sudo $dpkg"
25
28
    fi
26
29