summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2003-08-17 02:58:05 +0200
committerJudd Vinet <judd@archlinux.org>2003-08-17 02:58:05 +0200
commit6cac5b93a08fce0f30308bcf96f85ebd08df68fd (patch)
treeb4b19f14ee3b5c7a7ce66710fddb131887e3f507
parentcd3590946ac66b7adcfa95f51f00f917327bf20a (diff)
downloaddbscripts-6cac5b93a08fce0f30308bcf96f85ebd08df68fd.tar.gz
dbscripts-6cac5b93a08fce0f30308bcf96f85ebd08df68fd.tar.xz
reset needupdate
-rwxr-xr-xpkgdb4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgdb b/pkgdb
index df847ec..2578220 100755
--- a/pkgdb
+++ b/pkgdb
@@ -1,5 +1,5 @@
#!/bin/bash
-# $Id: pkgdb,v 1.8 2003/08/16 23:56:46 judd Exp $
+# $Id: pkgdb,v 1.9 2003/08/17 00:58:05 judd Exp $
tl=`pwd`
@@ -32,7 +32,7 @@ updatepkg()
mysql -u $dbuser -p$dbpass $dbname <<_EOF
UPDATE packages SET categoryid='$categoryid',pkgname='$pkgname',pkgver='$pkgver',
pkgrel='$pkgrel',pkgdesc='$pkgdesc',url='$url',sources='$sources',
-depends='$deplist',lastupdate=NOW() WHERE id='$id';
+depends='$deplist',needupdate=0,lastupdate=NOW() WHERE id='$id';
_EOF
}