Tuesday, October 03, 2006

The deb file

Well i have to install this on my fiancees laptop, and im tired of not having a package to install from.

So here goes.
1. "what do this package do"
Contain unaltered TAIL61.BIN file
Modify snapscan.conf
Clean uninstall


2. Create filestrukture.
mkdir ~/deb
mkdir ~/deb/DEBIAN
mkdir ~/deb/etc/sane.d

3.Populate filestrukture
cp TAIL61.bin ~/deb/etc/sane.d/TAIL61.BIN
touch ~/deb/etc/DEBIAN/control (Basic debian package info)
touch ~/deb/etc/DEBIAN/postinst (Install script, to be performed after file copy)
touch ~/deb/etc/DEBIAN/postrm (Uninstall script, to be performed after file deletion)

The scripts wil have own posts

0 Comments:

Post a Comment

<< Home