Jan Stary wrote: > dir=/var/db/pkg/$pkg Since you use the above mechanism to read the package list, your script only works for already installed packages.
Srikant.
Jan Stary wrote: > dir=/var/db/pkg/$pkg Since you use the above mechanism to read the package list, your script only works for already installed packages.
Srikant.