#!/bin/sh mkdir $1/dpkg/ dpkg -l > $1/dpkg/package_list