# 2007/02/15 kameda[at]iit.tsukuba.ac.jp
# http://www.kameda-lab.org/

# for dpkg
mkdir -p  /mnt/hda5/landisk/dpkg
touch     /mnt/hda5/landisk/dpkg/status
mkdir -p  /mnt/hda5/landisk/dpkg/updates
touch     /mnt/hda5/landisk/dpkg/available
mkdir -p  /mnt/hda5/landisk/dpkg/info
ln    -sf /mnt/hda5/landisk/dpkg /var/lib/dpkg

# for apt
mkdir -p  /mnt/hda5/landisk/apt
ln    -sf /mnt/hda5/landisk/apt /var/lib/apt
mkdir -p  /mnt/hda5/landisk/apt-cache
ln    -sf /mnt/hda5/landisk/apt-cache /var/cache/apt

mkdir -p /var/lib/apt/lists/partial
touch    /var/lib/apt/lists/lock
mkdir -p /var/cache/apt/archives/partial

exit 0

