]> pd.if.org Git - zpackage/commitdiff
mark configuration files at add
authorNathan Wagner <nw@hydaspes.if.org>
Sat, 20 Oct 2018 12:23:57 +0000 (12:23 +0000)
committerNathan Wagner <nw@hydaspes.if.org>
Sat, 3 Nov 2018 12:39:52 +0000 (12:39 +0000)
zpm-add

diff --git a/zpm-add b/zpm-add
index 4eb11afb4d6aa8e496bcc6e35d465f525b6345bc..119b29bd9b288cc43dab747ab1f1cc7f18bc43ab 100755 (executable)
--- a/zpm-add
+++ b/zpm-add
@@ -181,8 +181,8 @@ for path in $*; do
        #cat <<EOS
        zpm shell $pkgfile <<EOS
 begin;
-insert or replace into packagefiles (package,version,release,path,mode,mtime,username,groupname,filetype,hash,target)
-values ('$package', '$pkgver', $pkgrel, '$rpath', '$mode',$mtime, '$username','$groupname','$filetype',$hash,$target);
+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;
 EOS