# TODO check that we have such a package,version,release
#cat <<EOS
+ if [ $verbose -gt 2 ]; then
+ shellecho=".echo on"
+ fi
zpm shell $pkgfile <<EOS
begin;
+$shellecho
insert or replace into packagefiles (package,version,release,path,mode,mtime,username,groupname,filetype,hash,configuration,target)
values ('$package', '$pkgver', $pkgrel, '$rpath', '$mode',$mtime, '$username','$groupname','$filetype',$hash,$isconfig,$target);
commit;