summaryrefslogtreecommitdiff
path: root/pcr/debootstrap/debootstrap.install
blob: ebd23e0ddd684e1d84832a266e163b31a655bb3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
post_install() {
  if [ "$(uname -m)" = "x86_64" ]; then
    darch="amd64"
  else
    darch="i386"
  fi
  echo "$darch" > /usr/share/debootstrap/arch
}

pre_remove() {
  rm -f /usr/share/debootstrap/arch
}