~agateau/ubiquity/split-plugins

« back to all changes in this revision

Viewing changes to compat/archdetect

  • Committer: Colin Watson
  • Date: 2005-12-06 22:59:27 UTC
  • Revision ID: colin.watson@canonical.com-20051206225927-15665153026f6435
* Add archdetect and mapdevfs compatibility shims, since lots of d-i
  programs need these.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# Simple compatibility shim for d-i's archdetect tool. Doesn't yet handle
 
3
# subarchitectures (and if we care, perhaps we should just arrange for
 
4
# archdetect proper to be available as a .deb; libdebian-installer is
 
5
# already available and the command wrapper is trivial).
 
6
 
 
7
ARCH="$(dpkg --print-architecture 2>/dev/null)"
 
8
echo "$ARCH/generic"