~ubuntu-branches/ubuntu/quantal/friendly-recovery/quantal

« back to all changes in this revision

Viewing changes to usr/share/recovery-mode/options/xfix

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2008-07-30 15:52:20 UTC
  • Revision ID: james.westby@ubuntu.com-20080730155220-xlvkv2lld9o3q5o1
Tags: 0.2.6
* usr/share/recovery-mode/options/clean:
  - add "try to make free space" option that invokes
    "apt-get clean" for now (should use the system-cleaner
    once it is available
* usr/share/recovery-mode/options/xfix:
  - do not show the xfix option if no xserver-xorg.template
    is available (LP: #218954)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
. /usr/share/recovery-mode/l10n.sh
4
4
 
 
5
if [ ! -f /var/lib/dpkg/info/xserver-xorg.templates ]; then
 
6
    # no xserver-xorg template available so nothing to reconfgiure
 
7
    exit 1
 
8
fi
 
9
 
5
10
if [ "$1" = "test" ]; then
6
11
  echo $(eval_gettext "Try to fix X server")
7
12
  exit 0