#!/bin/sh set -e # Install laptop-detect on architectures known to have laptops case "$(archdetect)" in i386/*|amd64/*|powerpc/*) apt-install laptop-detect || true ;; esac